mirror of
https://github.com/mdbtools/mdbtools.git
synced 2025-09-18 18:22:07 +08:00
mysql patch
This commit is contained in:
@@ -10,4 +10,4 @@ config.sub
|
||||
libtool
|
||||
ltmain.sh
|
||||
mdbtools.spec
|
||||
|
||||
autom4te.cache
|
||||
|
@@ -1,3 +1,9 @@
|
||||
Sun Feb 8 13:02:56 EST 2004 Brian Bruns <brian@bruns.com>
|
||||
|
||||
* doc/faq.html: update email addy
|
||||
* doc/userguide.sgml: fix typo
|
||||
* src/libmdb/backend.c: mysql patch
|
||||
|
||||
Fri Feb 6 18:08:59 EST 2004 Brian Bruns <brian@bruns.com>
|
||||
|
||||
* include/mdbtools.h:
|
||||
|
10
TODO
10
TODO
@@ -19,8 +19,8 @@ libmdb:
|
||||
ones should be static.
|
||||
. Create an API reference for libmdb (maybe some man pages).
|
||||
. Sargs need to support all datatypes
|
||||
. Need a way to express logical relationships between sargs (tree)
|
||||
. Add support for index scanning when using sargs
|
||||
. Need a way to express logical relationships between sargs (done)
|
||||
. Add support for index scanning when using sargs (partial)
|
||||
. Use allocation maps to read tables, should be more efficient (done)
|
||||
. write support
|
||||
|
||||
@@ -35,17 +35,17 @@ SQL Engine:
|
||||
|
||||
. SQL Engine does not handle uppercase keywords (done)
|
||||
. Joins
|
||||
. OR clauses using sarg trees from above
|
||||
. OR clauses using sarg trees from above (done)
|
||||
. insert/updates
|
||||
. bogus column name in where clause not caught
|
||||
. const = const type operations not working (e.g. WHERE 0=1)
|
||||
. list tables/describe table shouldn't directly write to stdout
|
||||
. list tables/describe table shouldn't directly write to stdout (done, but will blow up on big tables)
|
||||
|
||||
ODBC:
|
||||
|
||||
. Figure out why we get unresolved symbols when ODBC driver load by DM (iODBC
|
||||
only?)
|
||||
. Boolean not working
|
||||
. Boolean not working (done)
|
||||
. many unimplemented funtions
|
||||
|
||||
GMDB:
|
||||
|
@@ -96,7 +96,7 @@ We are currently looking for corrupted Access databases to help with developing
|
||||
</p>
|
||||
</dd></dl>
|
||||
<dl><a name="postcards"></a><dt><b>1.10 What's this postcard thing?</b></dt><dd>
|
||||
I, like many free software others, enjoy getting postcards from where users live. If you're a happy MDB Tools user (or even a disgruntled one, doesn't really matter) and want to drop me a postcard with a picture of the place you live, email <a href="mailto:camber@ais.org">me</a> for my snail-mail address. Come one, you know you want to!
|
||||
I, like many free software others, enjoy getting postcards from where users live. If you're a happy MDB Tools user (or even a disgruntled one, doesn't really matter) and want to drop me a postcard with a picture of the place you live, email <a href="mailto:brian@nospam.bruns.com">me</a> for my snail-mail address. Come one, you know you want to!
|
||||
</dd></dl>
|
||||
|
||||
</body></html>
|
||||
|
@@ -2,8 +2,8 @@
|
||||
]>
|
||||
<book>
|
||||
<bookinfo>
|
||||
<date>$Date: 2003/01/15 15:16:53 $</date>
|
||||
<releaseinfo>$Revision: 1.2 $</releaseinfo>
|
||||
<date>$Date: 2004/02/08 18:41:07 $</date>
|
||||
<releaseinfo>$Revision: 1.3 $</releaseinfo>
|
||||
<title><productname>MDB Tools</productname> Installation Guide</title>
|
||||
<subtitle>A Guide to Installing and Configuring <productname>MDB Tools</productname></subtitle>
|
||||
<author>
|
||||
@@ -34,9 +34,9 @@ This guide is intended to provide help with installing and configuring the <prod
|
||||
<para>
|
||||
A few technical notes. This guide is written in SGML DocBook format, specifications for which are found in the <ulink url="http://www.docbook.org/tdg/en/html/docbook.html">DocBook book</ulink>. It was converted to HTML with <ulink url="http://openjade.sourceforge.net">OpenJade</ulink>.
|
||||
The document you are reading is version
|
||||
$Revision: 1.2 $
|
||||
$Revision: 1.3 $
|
||||
, dated
|
||||
$Date: 2003/01/15 15:16:53 $ (CVS control number $Id: install.sgml,v 1.2 2003/01/15 15:16:53 brianb Exp $). The most recent version can be found on the <productname>MDB Tools</productname>
|
||||
$Date: 2004/02/08 18:41:07 $ (CVS control number $Id: install.sgml,v 1.3 2004/02/08 18:41:07 brianb Exp $). The most recent version can be found on the <productname>MDB Tools</productname>
|
||||
<ulink url="http://mdbtools.sourceforge.net/userguide/">web site</ulink>.
|
||||
</para>
|
||||
</preface>
|
||||
@@ -145,7 +145,7 @@ For information on how to use gmdb2, see the manual under the Help menu.
|
||||
<chapter id="requirements">
|
||||
<title>Requirements</title>
|
||||
<para>
|
||||
<productname>MDB Tools</productname> like any most packages has some requirements for libraries and such on your system. Most of them are optional and will turn off certain features if not present.
|
||||
<productname>MDB Tools</productname> like most packages has some requirements for libraries and such on your system. Most of them are optional and will turn off certain features if not present.
|
||||
</para>
|
||||
<sect1 id="reqtable">
|
||||
<title>Requirements Matrix</title>
|
||||
|
@@ -1,2 +1,5 @@
|
||||
Makefile
|
||||
Makefile.in
|
||||
config.h.in
|
||||
config.h
|
||||
stamp-h1
|
||||
|
@@ -1,2 +1,3 @@
|
||||
Makefile.in
|
||||
Makefile
|
||||
omf_timestamp
|
||||
|
@@ -112,22 +112,22 @@ MdbBackendType mdb_postgres_types[] = {
|
||||
};
|
||||
/* MySQL data types */
|
||||
MdbBackendType mdb_mysql_types[] = {
|
||||
{"Mysql_Unknown 0x00",0,0,0},
|
||||
{"bit",0,0,0},
|
||||
{"char",1,0,1},
|
||||
{"smallint",0,0,0},
|
||||
{"Text",1,0,1},
|
||||
{"char",0,0,0},
|
||||
{"int",0,0,0},
|
||||
{"int",0,0,0},
|
||||
{"int",0,0,0},
|
||||
{"money",0,0,0},
|
||||
{"real",0,0,0},
|
||||
{"float",0,0,0},
|
||||
{"smalldatetime",0,0,0},
|
||||
{"Mysql_Unknown 0x09",0,0,0},
|
||||
{"float",0,0,0},
|
||||
{"float",0,0,0},
|
||||
{"date",0,0,1},
|
||||
{"varchar",1,0,1},
|
||||
{"varchar",1,0,1},
|
||||
{"varchar",1,0,1},
|
||||
{"varbinary",1,0,1},
|
||||
{"text",1,0,1},
|
||||
{"Mysql_Unknown 0x0d",0,0,0},
|
||||
{"Mysql_Unknown 0x0e",0,0,0},
|
||||
{"Mysql_Unknown 0x0f",0,0,0},
|
||||
{"blob",0,0,0},
|
||||
{"text",1,0,1},
|
||||
{"numeric",1,1,0},
|
||||
{"numeric",1,1,0},
|
||||
};
|
||||
|
||||
@@ -181,6 +181,10 @@ MdbBackend *backend;
|
||||
backend = (MdbBackend *) g_malloc0(sizeof(MdbBackend));
|
||||
backend->types_table = mdb_postgres_types;
|
||||
mdb_register_backend(backend, "postgres");
|
||||
|
||||
backend = (MdbBackend *) g_malloc0(sizeof(MdbBackend));
|
||||
backend->types_table = mdb_mysql_types;
|
||||
mdb_register_backend(backend, "mysql");
|
||||
}
|
||||
void mdb_register_backend(MdbBackend *backend, char *backend_name)
|
||||
{
|
||||
|
@@ -3,6 +3,7 @@ Makefile.in
|
||||
.deps
|
||||
.libs
|
||||
parser.c
|
||||
lexer.c
|
||||
parser.h
|
||||
*.lo
|
||||
*.la
|
||||
|
@@ -11,6 +11,7 @@ mdb-sql
|
||||
mdb-tables
|
||||
mdb-ver
|
||||
mdb-check
|
||||
mdb-prop
|
||||
prcat
|
||||
prdata
|
||||
prdump
|
||||
|
Reference in New Issue
Block a user