24 #include "../lib/grn-assertions.h"
29 static gchar *tmp_directory;
38 "command-select-filter-invalid",
45 g_free(tmp_directory);
49 remove_tmp_directory(
void)
51 cut_remove_path(tmp_directory, NULL);
58 "column_create Sites uri COLUMN_SCALAR ShortText\n"
59 "load --table Sites\n"
61 "[\"_key\",\"uri\"],\n"
62 "[\"groonga\",\"http://groonga.org/\"],\n"
63 "[\"razil\",\"http://razil.jp/\"]\n"
70 const gchar *database_path;
72 remove_tmp_directory();
73 g_mkdir_with_parents(tmp_directory, 0700);
78 database_path = cut_build_path(tmp_directory,
"database.groonga", NULL);
93 remove_tmp_directory();
102 "invalid function: <\"groonga\">",
103 "select Sites --filter \"_key != \\\"groonga\\\" ()\"");
112 "invalid expression: can't use column as a value: "
114 "<noname($1:\"\"){2_key GET_VALUE,0uri GET_VALUE,0MATCH}>",
115 "select Sites --filter \"_key @ uri");