iconv, typo fixes, libtool versioning, added MySQL to gmdb2 export

This commit is contained in:
brianb
2004-06-21 00:31:39 +00:00
parent 642a74c8c3
commit 620db14f4b
12 changed files with 118 additions and 12 deletions

View File

@@ -200,7 +200,7 @@
<property name="editable">True</property>
<property name="visibility">True</property>
<property name="max_length">0</property>
<property name="text" translatable="yes"></property>
<property name="text" translatable="yes">Access</property>
<property name="has_frame">True</property>
<property name="invisible_char" translatable="yes">*</property>
<property name="activates_default">False</property>
@@ -252,7 +252,7 @@
<property name="selection_mode">GTK_SELECTION_BROWSE</property>
<child>
<widget class="GtkListItem" id="listitem117">
<widget class="GtkListItem" id="listitem141">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label" translatable="yes">Access</property>
@@ -260,7 +260,7 @@
</child>
<child>
<widget class="GtkListItem" id="listitem118">
<widget class="GtkListItem" id="listitem142">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label" translatable="yes">Oracle</property>
@@ -268,7 +268,7 @@
</child>
<child>
<widget class="GtkListItem" id="listitem119">
<widget class="GtkListItem" id="listitem143">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label" translatable="yes">Sybase</property>
@@ -276,7 +276,7 @@
</child>
<child>
<widget class="GtkListItem" id="listitem120">
<widget class="GtkListItem" id="listitem144">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label" translatable="yes">MS SQL Server</property>
@@ -284,12 +284,19 @@
</child>
<child>
<widget class="GtkListItem" id="listitem121">
<widget class="GtkListItem" id="listitem145">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label" translatable="yes">PostgreSQL</property>
</widget>
</child>
<child>
<widget class="GtkListItem" id="listitem146">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="label" translatable="yes">MySQL</property>
</widget>
</widget>
</child>
</widget>

View File

@@ -302,7 +302,7 @@ Click on the <guibutton>Data</guibutton> button from the right hand side of the
</sect2>
<sect2 id="gmdb-table-export">
<title>Data Export</title>
<para>The <guilabel>Export</guilabel> button creates a text file containing the data from a single data.</para>
<para>The <guilabel>Export</guilabel> button creates a text file containing the data from a single table.</para>
<para>To export the table data, perform the following steps</para>
<orderedlist>
<listitem><para>

View File

@@ -137,6 +137,7 @@ GtkWidget *schemawin, *combo, *checkbox, *entry;
else if (!strcmp(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(combo)->entry)),"Sybase")) strcpy(backend,"sybase");
else if (!strcmp(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(combo)->entry)),"MS SQL Server")) strcpy(backend,"sybase");
else if (!strcmp(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(combo)->entry)),"PostgreSQL")) strcpy(backend,"postgres");
else if (!strcmp(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(combo)->entry)),"MySQL")) strcpy(backend,"mysql");
else strcpy(backend,"access");
checkbox = glade_xml_get_widget (schemawin_xml, "rel_checkbox");
if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(checkbox)))

View File

@@ -1,4 +1,5 @@
lib_LTLIBRARIES = libmdb.la
libmdb_la_SOURCES= catalog.c mem.c file.c kkd.c table.c data.c dump.c backend.c money.c sargs.c index.c like.c write.c stats.c map.c props.c worktable.c options.c iconv.c
libmdb_la_LDFLAGS = -version-info 1:0:0
AM_CPPFLAGS = -I$(top_srcdir)/include $(GLIB_CFLAGS)
LIBS = $(GLIB_LIBS) -lm

View File

@@ -54,6 +54,17 @@ MdbFormatConstants MdbJet3Constants = {
static size_t _mdb_read_pg(MdbHandle *mdb, unsigned char *pg_buf, unsigned long pg);
/**
* mdb_find_file:
* @filename: path to MDB (database) file
*
* Finds and returns the absolute path to an MDB file. Function will first try
* to fstat file as passed, then search through the $MDBPATH if not found.
*
* Return value: gchar pointer to absolute path. Caller is responsible for
* freeing.
**/
static gchar *mdb_find_file(char *file_name)
{
struct stat status;

View File

@@ -1,5 +1,6 @@
lib_LTLIBRARIES = libmdbsql.la
libmdbsql_la_SOURCES= mdbsql.c parser.y lexer.l
libmdbsql_la_LDFLAGS = -version-info 1:0:0
EXTRA_DIST = main.c
DISTCLEANFILES = parser.c parser.h lexer.c
AM_CPPFLAGS = -I$(top_srcdir)/include $(GLIB_CFLAGS)