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:
Steve Murphy
2006-11-01 19:52:43 +00:00
parent 78ccdbc123
commit d4b36ffde5

View File

@@ -423,7 +423,7 @@ static struct ast_config *config_odbc(const char *database, const char *table, c
odbc_obj *obj;
SQLINTEGER err=0, commented=0, cat_metric=0, var_metric=0, last_cat_metric=0;
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;
SQLHSTMT stmt;
char last[128] = "";