[libgda] Correction for bug #676239



commit 507234c9dc53757a44c0abafd33e4d353a9f703e
Author: Vivien Malerba <malerba gnome-db org>
Date:   Sun Jun 10 16:38:46 2012 +0200

    Correction for bug #676239

 libgda/sql-parser/gda-sql-parser.c |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/libgda/sql-parser/gda-sql-parser.c b/libgda/sql-parser/gda-sql-parser.c
index a0d1565..94f3800 100644
--- a/libgda/sql-parser/gda-sql-parser.c
+++ b/libgda/sql-parser/gda-sql-parser.c
@@ -1260,10 +1260,8 @@ getToken (GdaSqlParser *parser)
 				else
 					break;
 			}
-			else if (c == '\\') {
-				if (z[i+1] == delim)
-					i++;
-			}
+			else if (c == '\\')
+				i++;
 		}
 		if (c) {
 			if (delim == '"')



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]