[libgda/LIBGDA_4.2] Correction for bug #661684
- From: Vivien Malerba <vivien src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [libgda/LIBGDA_4.2] Correction for bug #661684
 
- Date: Wed, 19 Oct 2011 06:14:34 +0000 (UTC)
 
commit c855b10563147cde2ff198cff0b396be953e2b45
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 703e5fb..9cc5171 100644
--- a/libgda/sql-parser/gda-statement-struct-util.c
+++ b/libgda/sql-parser/gda-statement-struct-util.c
@@ -277,7 +277,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]