Changeset: 4bbd3889f006 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=4bbd3889f006
Modified Files:
sql/backends/monet5/sql_scenario.c
Branch: Dec2011
Log Message:
Typo.
diffs (12 lines):
diff --git a/sql/backends/monet5/sql_scenario.c
b/sql/backends/monet5/sql_scenario.c
--- a/sql/backends/monet5/sql_scenario.c
+++ b/sql/backends/monet5/sql_scenario.c
@@ -405,7 +405,7 @@ sql_update_dec2011( Client c, mvc *m )
buf = GDKrealloc(buf, bufsize += 1024);
pos += snprintf(buf+pos, bufsize-pos, "create filter function
sys.\"like\"(val string, pat string, esc string) external name
pcre.like_filter;\n");
pos += snprintf(buf+pos, bufsize-pos, "create filter function
sys.\"ilike\"(val string, pat string, esc string) external name
pcre.ilike_filter;\n");
- pos += snprintf(buf + pos, "insert into sys.systemfunctions (select
f.id from sys.functions f, sys.schemas s where f.name in ('ilike', 'like') and
f.type = %d and f.schema_id = s.id and s.name = 'sys');\n", F_FILT)
+ pos += snprintf(buf + pos, bufsize-pos, "insert into
sys.systemfunctions (select f.id from sys.functions f, sys.schemas s where
f.name in ('ilike', 'like') and f.type = %d and f.schema_id = s.id and s.name =
'sys');\n", F_FILT);
printf("Running database upgrade commands:\n%s\n", buf);
err = SQLstatementIntern(c, &buf, "update", 1, 0);
GDKfree(buf);
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list