James Woodcock
eb5dd4d0b7
Support "SELECT TOP n [PERCENT]... " queries.
...
Updated the SQL parser to support "SELECT TOP n [PERCENT]... " queries,
matching the Mocrosoft Access SQL language.
Export these queries from databases with mdb-queries.
2020-09-26 11:28:34 +01:00
Nyall Dawson
83104b7b69
Setup operator precedence for parser to avoid ambiguity and fix shift/reduce warnings
2020-08-23 07:57:17 +10:00
Nyall Dawson
e92f14f9c4
Make SQL parser/lexer reentrant
...
Provides thread safety for mdbtools ODBC driver
2020-08-18 12:23:04 +10:00
leecher1337
135f452407
Merge branch 'master' into master
2017-12-03 17:02:15 +01:00
Brian Bruns
23bab7c2d6
add support for LIMIT clause in SQL engine
2016-08-30 08:43:34 -04:00
leecher1337
e2449c11f3
Added strptime function to SQL parser as a feature. This is needed to i.e. be able to query time-fields in DB and to use dates <1.1.1970 and >19.1.2038. All changes should be backwards-compatible to not break existing queries.
2015-08-30 11:23:57 +02:00
leecher1337
16bf355d6b
Added simple support for count(*) to SQL parser to quickly get number of rows in table
2015-08-20 14:35:09 +02:00
Nirgal Vourgère
2a70e16a8b
Allow CFLGAS="-std=c99 -D_POSIX_C_SOURCE=2"
...
Use glib function:
strcasecmp -> g_ascii_strcasecmp
bzero -> memset
strdup -> g_strdump
Don't use arithmetic void*+int
2014-12-28 12:36:55 +01:00
Jean-Michel Vourgère
1cc4f659e4
Don't generate input & unput in lexer
...
This quiets the compiler warnings about defined but not used functions
2012-06-30 20:15:27 +02:00
Jean-Michel Vourgère
0a76d5716f
Removes many compilation warnings.
2011-08-30 16:11:13 -04:00
Nirgal Vourgre
dd0f4c3819
Patch docs.diff from Nirgal
2011-08-28 19:53:29 -04:00
Nirgal Vourgre
07f915b3c7
Patch utfsql.diff from Nirgal
2011-08-28 19:49:54 -04:00
root
f8f1b91b7d
report parser errors via mdb_sql_error()
2010-06-20 23:12:32 -04:00
whydoubt
34f39973a1
Clean up a few compile-time warnings
2004-12-30 12:37:52 +00:00
whydoubt
2e5179fb63
Add SQL quote escaping, Documentation fix
2004-08-27 02:05:22 +00:00
brianb
4bb08b6661
lots of small fixes (see Changelog)
2004-03-13 15:07:18 +00:00
brianb
e352e80eb1
patch #856724/857342 and odds and ends.
2004-02-09 20:37:27 +00:00
brianb
fed589b2e7
rework of patch #879693 to support 0=1 in where clause
2004-02-08 21:54:20 +00:00
brianb
fcf4e1a53a
fixed booleans
2004-02-07 00:58:29 +00:00
brianb
5f02ba4fd2
add IS NULL/IS NOT NULL support, patches
2004-02-06 23:55:18 +00:00
brianb
a74094c667
sync up, see ChangeLog for details
2004-02-06 02:34:20 +00:00
brianb
092e2b79af
query planner stuff
...
some gcc -Wall fixes
added suport for _ in identifier names in SQL
gmdb2 manual additions
2003-01-20 16:04:24 +00:00
brianb
16735470a7
port of gmdb to gnome2. lots o other stuff
2002-12-27 15:09:02 +00:00
brianb
ea8fd2a6ba
massive sync up of my code to CVS. not sure what changed.
2002-01-24 12:34:10 +00:00
brianb
3d4bc34b70
Enhancements for getting Access 2000 to work (almost)
...
Fixes for working with bison
2001-05-16 00:21:17 +00:00
brianb
606887dfbd
added like operator and handling of string sargs
...
Added index stuff to HACKING file
Misc. mdb-sql updates
2001-04-20 21:06:46 +00:00
brianb
12d830dc62
restructing...automake now used sql stuff working
2001-04-11 23:33:19 +00:00