]>
Commit | Line | Data |
---|---|---|
d377c236 AM |
1 | diff -urbB abiword-2.4.1.org/abiword-plugins/tools/gda/plugin.m4 abiword-2.4.1/abiword-plugins/tools/gda/plugin.m4 |
2 | --- abiword-2.4.1.org/abiword-plugins/tools/gda/plugin.m4 2005-09-25 13:28:14.000000000 +0200 | |
3 | +++ abiword-2.4.1/abiword-plugins/tools/gda/plugin.m4 2005-10-24 22:22:34.922621500 +0200 | |
4 | @@ -29,7 +29,7 @@ | |
5 | # Checks for header files. | |
6 | ||
7 | dnl only unix builds should need this stuff, so why...? | |
8 | -PKG_CHECK_MODULES(_abi_gda,[libgda >= 1.2.0 libgnomedb >= 1.2.0],[ | |
9 | +PKG_CHECK_MODULES(_abi_gda,[libgda-2.0 >= 1.2.0 libgnomedb-2.0 >= 1.2.0],[ | |
10 | ABI_PLUGIN_REPORT([gda: okay]) | |
11 | ],[ ABI_PLUGIN_REPORT([gda: error - libgda and libgnomedb >= 1.2.0 required]) | |
12 | abi_plugin_disable=yes | |
13 | diff -urbB abiword-2.4.1.org/abiword-plugins/tools/gda/unix/AbiGDA.cpp abiword-2.4.1/abiword-plugins/tools/gda/unix/AbiGDA.cpp | |
14 | --- abiword-2.4.1.org/abiword-plugins/tools/gda/unix/AbiGDA.cpp 2005-01-12 18:54:57.000000000 +0100 | |
15 | +++ abiword-2.4.1/abiword-plugins/tools/gda/unix/AbiGDA.cpp 2005-10-24 22:20:32.000000000 +0200 | |
16 | @@ -283,13 +283,13 @@ | |
17 | sql = editable_txt; | |
18 | g_free (editable_txt); | |
19 | ||
20 | - cnc = gda_client_open_connection (connection_pool, dsn_name.utf8_str(), user_name.utf8_str(), password.utf8_str(), GDA_CONNECTION_OPTIONS_READ_ONLY); | |
21 | + cnc = gda_client_open_connection (connection_pool, dsn_name.utf8_str(), user_name.utf8_str(), password.utf8_str(), GDA_CONNECTION_OPTIONS_READ_ONLY, 0); | |
22 | if (!GDA_IS_CONNECTION (cnc)) | |
23 | return false; | |
24 | ||
25 | /* execute command */ | |
26 | cmd = gda_command_new (sql.utf8_str(), GDA_COMMAND_TYPE_SQL, (GdaCommandOptions)0); | |
27 | - recset = gda_connection_execute_single_command (cnc, cmd, NULL); | |
28 | + recset = gda_connection_execute_single_command (cnc, cmd, NULL, 0); | |
29 | gda_command_free (cmd); | |
30 | ||
31 | if (recset == NULL || !GDA_IS_DATA_MODEL (recset)) |