[libgda] Correction for bug #661684



commit 63de0c4ebbc833de87b5ca0cacd7b2160e0f9ae9
Author: Vivien Malerba <malerba gnome-db org>
Date:   Mon Oct 17 22:18:47 2011 +0200

    Correction for bug #661684

 libgda/sql-parser/gda-statement-struct-util.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgda/sql-parser/gda-statement-struct-util.c b/libgda/sql-parser/gda-statement-struct-util.c
index 4cc6840..baf155c 100644
--- a/libgda/sql-parser/gda-statement-struct-util.c
+++ b/libgda/sql-parser/gda-statement-struct-util.c
@@ -276,7 +276,7 @@ _string_is_identifier (const gchar *str)
 	else
 		ptr = str;
 	for (; 
-	     IdChar(*ptr) || (*ptr == '*') || (*ptr == '.') || (((*ptr == '"') || (*ptr == '`')) && ptr[1] == 0); 
+	     IdChar(*ptr) || (*ptr == '*') || (*ptr == '.') || (*ptr == '-') || (((*ptr == '"') || (*ptr == '`')) && ptr[1] == 0); 
 	     ptr++);
 	if (*ptr) 
 		return FALSE;



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