From a8aa2a9f5458f5d236d2effc06de8666cc31f083 Mon Sep 17 00:00:00 2001 From: Benjamin Gandon Date: Thu, 2 Aug 2001 18:53:03 +0000 Subject: [PATCH] new split_sql() that fixes many bugs --- ChangeLog | 6 ++++++ lib.inc.php3 | 52 +++++++++++++++++++++++++++++++++------------------- 2 files changed, 39 insertions(+), 19 deletions(-) diff --git a/ChangeLog b/ChangeLog index c07f91fee..38ce0ef27 100755 --- a/ChangeLog +++ b/ChangeLog @@ -9,6 +9,12 @@ $Source$ * sql.php3: fix confirm bug with the new backquotes * db_readdump.php3: mysql_die2 to mysql_die +2001-08-02 Benjamin Gandon + * lib.inc.php3: corrected the original bug of split_sql() (present + much before 2.1.0). Removed the quick hack to + handle queries containing "('\\')". The alorithm + is ok now. + 2001-08-01 Marc Delisle * executed remove_control_m.sh on *.php3 diff --git a/lib.inc.php3 b/lib.inc.php3 index 4efe08527..14bd8609c 100755 --- a/lib.inc.php3 +++ b/lib.inc.php3 @@ -1451,46 +1451,60 @@ var errorMsg2 = '