summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-voip/yate/files/yate-1.3.0-mysql-multiple-results.diff')
-rw-r--r--net-voip/yate/files/yate-1.3.0-mysql-multiple-results.diff13
1 files changed, 13 insertions, 0 deletions
diff --git a/net-voip/yate/files/yate-1.3.0-mysql-multiple-results.diff b/net-voip/yate/files/yate-1.3.0-mysql-multiple-results.diff
new file mode 100644
index 0000000..3d16ac5
--- /dev/null
+++ b/net-voip/yate/files/yate-1.3.0-mysql-multiple-results.diff
@@ -0,0 +1,13 @@
+--- yate/modules/mysqldb.cpp 2006-12-19 20:59:53.000000000 +0100
++++ yate-1.3.0-1/modules/mysqldb.cpp 2007-09-26 16:27:11.921551155 +0200
+@@ -247,9 +247,9 @@
+ }
+ }
+ mysql_free_result(res);
+ }
+- } while (mysql_more_results(m_conn));
++ } while (mysql_next_result(m_conn) == 0);
+
+ if (m_msg) {
+ m_msg->setParam("affected",String(affected));
+ if (warns)