@@ -1849,7 +1849,7 @@ SWITCH_DECLARE(switch_status_t) switch_console_set_complete(const char *string)
1849
1849
SWITCH_STANDARD_STREAM (mystream );
1850
1850
1851
1851
if (!strcasecmp (argv [0 ], "stickyadd" )) {
1852
- mystream .write_function (& mystream , "insert into complete values (1," );
1852
+ mystream .write_function (& mystream , "insert into complete (sticky, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, hostname) values (1," );
1853
1853
for (x = 0 ; x < 10 ; x ++ ) {
1854
1854
if (argv [x + 1 ] && !strcasecmp (argv [x + 1 ], "_any_" )) {
1855
1855
mystream .write_function (& mystream , "%s" , "'', " );
@@ -1865,7 +1865,7 @@ SWITCH_DECLARE(switch_status_t) switch_console_set_complete(const char *string)
1865
1865
switch_core_sql_exec (mystream .data );
1866
1866
status = SWITCH_STATUS_SUCCESS ;
1867
1867
} else if (!strcasecmp (argv [0 ], "add" )) {
1868
- mystream .write_function (& mystream , "insert into complete values (0," );
1868
+ mystream .write_function (& mystream , "insert into complete (sticky, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, hostname) values (0," );
1869
1869
for (x = 0 ; x < 10 ; x ++ ) {
1870
1870
if (argv [x + 1 ] && !strcasecmp (argv [x + 1 ], "_any_" )) {
1871
1871
mystream .write_function (& mystream , "%s" , "'', " );
0 commit comments