mirror of
https://github.com/mdbtools/mdbtools.git
synced 2026-01-02 20:42:14 +08:00
added like operator and handling of string sargs
Added index stuff to HACKING file Misc. mdb-sql updates
This commit is contained in:
@@ -84,7 +84,7 @@ CONFIG_CLEAN_FILES =
|
||||
PROGRAMS = $(bin_PROGRAMS)
|
||||
|
||||
|
||||
DEFS = -DPACKAGE=\"mdbtools\" -DVERSION=\"0.3\" -DYYTEXT_POINTER=1 -DHAVE_LIBMDB=1 -DHAVE_FCNTL_H=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_READLINE=1 -I. -I$(srcdir)
|
||||
DEFS = -DPACKAGE=\"mdbtools\" -DVERSION=\"0.3\" -DYYTEXT_POINTER=1 -DHAVE_LIBMDB=1 -DHAVE_FCNTL_H=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_WORDEXP_H=1 -DHAVE_READLINE=1 -I. -I$(srcdir)
|
||||
CPPFLAGS =
|
||||
LDFLAGS =
|
||||
mdb_export_SOURCES = mdb-export.c
|
||||
|
||||
@@ -66,9 +66,10 @@ MdbSarg sarg;
|
||||
|
||||
mdb_read_columns(table);
|
||||
|
||||
sarg.op = MDB_GTEQ;
|
||||
sarg.value.i = 11070;
|
||||
mdb_add_sarg_by_name(table, "OrderID", &sarg);
|
||||
sarg.op = MDB_EQUAL;
|
||||
// sarg.value.i = 11070;
|
||||
strcpy(sarg.value.s, "Reggiani Caseifici");
|
||||
mdb_add_sarg_by_name(table, "ShipName", &sarg);
|
||||
|
||||
mdb_rewind_table(table);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user