mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-06 04:30:28 +00:00
a fix for bug 8251; the var_val needs to accept longer strings or mass confusion and a lot of lost time is the result
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@46803 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -423,7 +423,7 @@ static struct ast_config *config_odbc(const char *database, const char *table, c
|
|||||||
odbc_obj *obj;
|
odbc_obj *obj;
|
||||||
SQLINTEGER err=0, commented=0, cat_metric=0, var_metric=0, last_cat_metric=0;
|
SQLINTEGER err=0, commented=0, cat_metric=0, var_metric=0, last_cat_metric=0;
|
||||||
SQLBIGINT id;
|
SQLBIGINT id;
|
||||||
char sql[255] = "", filename[128], category[128], var_name[128], var_val[512];
|
char sql[255] = "", filename[128], category[128], var_name[128], var_val[1024];
|
||||||
SQLSMALLINT rowcount=0;
|
SQLSMALLINT rowcount=0;
|
||||||
SQLHSTMT stmt;
|
SQLHSTMT stmt;
|
||||||
char last[128] = "";
|
char last[128] = "";
|
||||||
|
Reference in New Issue
Block a user