summaryrefslogtreecommitdiffstats
path: root/databases/mergeant/files/patch-libmergeant_mg-query.c
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2004-08-15 00:45:03 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2004-08-15 00:45:03 +0800
commit80219f4ec72b34f8b9c56465039a139ab1901b5b (patch)
tree8e27ab26e210c3d4a6fd4abb553c398917c45ed9 /databases/mergeant/files/patch-libmergeant_mg-query.c
parent8d5072b2dd205ca41c03c5348410eef369639599 (diff)
downloadmarcuscom-ports-80219f4ec72b34f8b9c56465039a139ab1901b5b.tar
marcuscom-ports-80219f4ec72b34f8b9c56465039a139ab1901b5b.tar.gz
marcuscom-ports-80219f4ec72b34f8b9c56465039a139ab1901b5b.tar.bz2
marcuscom-ports-80219f4ec72b34f8b9c56465039a139ab1901b5b.tar.lz
marcuscom-ports-80219f4ec72b34f8b9c56465039a139ab1901b5b.tar.xz
marcuscom-ports-80219f4ec72b34f8b9c56465039a139ab1901b5b.tar.zst
marcuscom-ports-80219f4ec72b34f8b9c56465039a139ab1901b5b.zip
Update to 0.52.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@2651 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'databases/mergeant/files/patch-libmergeant_mg-query.c')
-rw-r--r--databases/mergeant/files/patch-libmergeant_mg-query.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/databases/mergeant/files/patch-libmergeant_mg-query.c b/databases/mergeant/files/patch-libmergeant_mg-query.c
new file mode 100644
index 000000000..f37e9160f
--- /dev/null
+++ b/databases/mergeant/files/patch-libmergeant_mg-query.c
@@ -0,0 +1,16 @@
+--- libmergeant/mg-query.c.orig Thu Aug 12 22:26:44 2004
++++ libmergeant/mg-query.c Thu Aug 12 22:27:41 2004
+@@ -5117,9 +5117,11 @@
+ if (!cond)
+ has_error = TRUE;
+ else {
++ MgQfield *field_left;
++ MgQfield *field_right;
+ g_assert (mg_condition_get_cond_type (cond) == MG_CONDITION_LEAF_EQUAL);
+- MgQfield *field_left = mg_condition_leaf_get_operator (cond, MG_CONDITION_OP_LEFT);
+- MgQfield *field_right = mg_condition_leaf_get_operator (cond, MG_CONDITION_OP_RIGHT);
++ field_left = mg_condition_leaf_get_operator (cond, MG_CONDITION_OP_LEFT);
++ field_right = mg_condition_leaf_get_operator (cond, MG_CONDITION_OP_RIGHT);
+
+ if (IS_MG_QF_FIELD (field_left)) {
+ g_object_set (G_OBJECT (field_left), "value_provider", field_right, NULL);