Cyber Emissary
fd230f68f2
precision and scale were used other way around. Flipped their usage
...
in all places
2018-02-06 13:10:56 -05:00
Cyber Emissary
702ce2b7cd
fixed mysql types, and numeric scale/precision
2018-02-06 13:10:13 -05:00
Sam Shaw
ffccc9d1cf
Oracle Foreign Keys
...
Oracle doesn't support the "ON UPDATE" clause for foreign keys.
2016-01-12 09:58:17 +08:00
Sam Shaw
7f21d4e030
Oracle BLOB & CLOB
...
BLOB and CLOB do not have a size constraint in Oracle
2015-12-23 13:46:31 +08:00
Sam Shaw
ffbc492a8b
Oracle Indexes
...
Add syntax for creating indexes in oracle (it's the same as PostgreSQL)
2015-12-23 13:31:05 +08: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
Maurus Cuelenaere
e2c46bad8b
Add MySQL support to mdb_print_indexes()
2014-10-17 22:18:34 +02:00
Maurus Cuelenaere
97ddfcf8b2
Introduce MDB_BACKEND_* enum
2014-10-17 22:16:49 +02:00
Maurus Cuelenaere
65b573637e
Add MySQL support to mdb_print_indexes()
2014-03-17 13:30:40 +01:00
Maurus Cuelenaere
cce6cfead2
Introduce MDB_BACKEND_* enum
2014-03-17 13:30:28 +01:00
Nirgal Vourgère
7841d30d43
Revert use of config.h
...
Revert
7162e8db74
088493d499
And drop AC_CONFIG_HEADERS so that config goes though the command line.
No longer generating config.h, update .gitignore
2013-07-15 02:42:12 +02:00
Nirgal Vourgère
7162e8db74
Include config.h in all .c files
...
Need to be the first file since it may define large files support
and other options.
2013-07-04 10:53:13 +02:00
Nirgal Vourgère
6ef7da0597
Disabled schema comments for mysql backend
...
They were using an incorrect syntax
2013-06-29 12:13:09 +02:00
Nirgal Vourgère
8f0f167ab2
Memory leak fix
...
Free temporary variable in mdb_print_indexes
2013-06-28 17:54:30 +02:00
Nirgal Vourgère
687eeebe78
Memory leak fix
...
Need to free previous backend name when changing it.
2013-06-28 16:41:29 +02:00
Nirgal Vourgère
0196d34d7b
__attribute__ change into macro
...
Makes it easier to port to another compiler.
Thanks Jimmy Taker
2013-06-28 01:51:52 +02:00
Jimmytaker
46005ae009
MDB_DEPRECATED redefined, Constructor MACRO, generate_table_schema changed to not static, date_fmt to ISODate
...
__attribute__ does not exist in Visual Studio. Therefore replaced wherever it appeared with a macro:
Redefines MDB_DEPRECATED to support Visual Studio
Define a Constructor MACRO so that __attribute__((constructor/destructor)) behavior is achieved in Visual Studio.
Just using generate_table_schema through mdb_print_schema deletes the purpose of a very good tool. generate_table_schemas is a rewrite of generate_table_schema but sends the data to a char* instead of FILE*. There is NO fmemopen() or similar in Visual Studio, so there is NO way to access memory through a FILE* except for first writing to the disk and then reading from the disk in memory.
I cannot suggest how to handle the case when td == 0 for the dates. The databases I work with often have just 00:00:00 in the DateTime column which is not consistent with the rest of the column either, but I have to deal with it somehow.
Leaving void* where char* is needed as a function parameter returns a compilation error in Visual Studio.
2013-01-14 19:27:53 +01:00
Nirgal Vourgère
a972c1638d
merge with master
2013-01-14 14:20:10 +01:00
Nirgal Vourgère
eeadcb54f3
Use macros for depreacated function attributes
...
This will help porting on compilers that don't support it
2013-01-13 23:50:42 +01:00
Jimmytaker
c9f602480b
Code cleanup
...
Enforce consistency g_malloc - g_free and malloc - free
Move var declarations on top of functions
2013-01-13 23:17:07 +01:00
Jimmytaker
70c6fb7551
Added support for sqlite
2013-01-13 22:32:31 +01:00
Jimmytaker
6df0aa6ce0
Port to Windows and SQLite Extension
2012-12-31 20:40:12 +01:00
Nirgal Vourgère
5f09513c85
Deprecate more mdb_{init|remove}_backends
...
These functions now use the __attribute__((constructor)) & destructor.
Old names were keep for compatibility
Also put __attribute__((deprecated)) in mdbtools.h for all deprecated
functions.
2012-08-09 14:55:17 +02:00
Will Daniels
04b6cf5232
Export REPID as string & use char(38) in mysql
2012-06-29 02:28:51 +02:00
Nirgal Vourgère
7634e329c7
Renamed namespace into dbnamespace: C++ keyword
2012-02-11 18:38:43 +01:00
Nirgal Vourgre
dd0f4c3819
Patch docs.diff from Nirgal
2011-08-28 19:53:29 -04:00
Nirgal Vourgre
8ef50c444e
Patch nosanitize.diff form Nirgal
2011-08-28 18:56:03 -04:00
Nirgal
529534dae5
Oracle numeric types
2011-08-10 18:00:18 -04:00
Nirgal
456f261cab
Bunch of fixes for compilation warnings, mostly unused vars.
2011-08-10 18:00:18 -04:00
Brian Bruns
3280842de1
boolean default patch from Nirgal Vourgère
2011-03-20 15:33:26 -04:00
Brian Bruns
91cd0b7475
fix comments for mysql from Dmitry Nikitin
2011-03-20 15:24:56 -04:00
Brian Bruns
d794c6e2a1
patch default_values from Nirgal Vourgère
2011-02-16 18:59:25 -05:00
Brian Bruns
39277312d4
patch 'schema2' from Nirgal Vourgère
2011-02-16 18:58:22 -05:00
Brian Bruns
0eea4c148f
patch schema-indexes from Nirgal Vourgère
2011-02-16 18:57:05 -05:00
Brian Bruns
4f73e1b295
patch from Terry Brown <terry_n_brown at yahoo.com> to not sanitize the schema in mdb-schema
2010-08-03 20:04:29 -04:00
Brian Bruns
87af69a15e
Debian patch 170-sequences from Nirgal Vourgère
2010-06-20 16:30:47 -04:00
Brian Bruns
f2bc2e1a21
Debian patch 160-foreign-keys from Nirgal Vourgère
2010-06-20 16:28:54 -04:00
Brian Bruns
30e5a6f4bb
Debian patch 150-backend-quote from Nirgal Vourgère
2010-06-20 16:27:42 -04:00
Brian Bruns
7a073df76e
Patch 155-blob from Nirgal Vourgère
2010-06-17 22:12:44 -04:00
Brian Bruns
625c588cdf
Debian patch 100-postgres-types from Nirgal Vourgère
2010-06-17 19:02:28 -04:00
whydoubt
8b9438dff5
Make backend_name parameter a const char *
2005-10-17 12:04:34 +00:00
whydoubt
e0cb6caa73
Clean up some gcc4 warnings and errors
2005-04-29 03:08:12 +00:00
calvinrsmith
ad597b1d75
*** keyword substitution change ***
2005-01-15 05:02:04 +00:00
whydoubt
d06cb3e47d
Combine functions that bind a column and its length
2004-12-31 01:26:28 +00:00
whydoubt
40f3afdbb7
Fixes based on 'gcc -W -Wall' warnings
2004-07-03 04:56:07 +00:00
whydoubt
3d47cc5570
Add function mdb_read_table_by_name
2004-07-02 12:29:09 +00:00
whydoubt
2b326e7e2c
Add gtkdoc to various functions
2004-06-22 04:27:42 +00:00
whydoubt
402e6be097
Major revisions to 'backend' code
2004-06-11 13:56:39 +00:00
whydoubt
b14de7135e
malloc to g_malloc for backend functions
2004-05-29 19:18:57 +00:00
brianb
341fc9d4ef
free backend structures on exit
2004-04-12 14:33:56 +00:00