diff options
author | bland <bland@FreeBSD.org> | 2004-08-15 12:32:02 +0000 |
---|---|---|
committer | bland <bland@FreeBSD.org> | 2004-08-15 12:32:02 +0000 |
commit | ede1f009128efeb16d23c39267fd243a241e08f8 (patch) | |
tree | 615f4b3c8e0d1c5e1da62edd1933919c3dbb8387 /databases | |
parent | c17fdf3112c8b5907d09fd632980989e15a6d45b (diff) | |
download | FreeBSD-ports-ede1f009128efeb16d23c39267fd243a241e08f8.zip FreeBSD-ports-ede1f009128efeb16d23c39267fd243a241e08f8.tar.gz |
Fix MySQL backend support build with gcc 3.4
PR: 70477
Submitted by: Sascha Holzleiter <sascha@root-login.org>
Diffstat (limited to 'databases')
-rw-r--r-- | databases/libgda2/files/patch-providers_mysql_gda-mysql-provider.c | 30 | ||||
-rw-r--r-- | databases/libgda3/files/patch-providers_mysql_gda-mysql-provider.c | 30 |
2 files changed, 60 insertions, 0 deletions
diff --git a/databases/libgda2/files/patch-providers_mysql_gda-mysql-provider.c b/databases/libgda2/files/patch-providers_mysql_gda-mysql-provider.c new file mode 100644 index 0000000..4b13d3f --- /dev/null +++ b/databases/libgda2/files/patch-providers_mysql_gda-mysql-provider.c @@ -0,0 +1,30 @@ +--- patch-providers_mysql_gda-mysql-provider.c begins here --- +--- providers/mysql/gda-mysql-provider.c.orig Sat Aug 14 22:14:57 2004 ++++ providers/mysql/gda-mysql-provider.c Sat Aug 14 22:15:59 2004 +@@ -510,7 +510,7 @@ + + g_free (str); + break; +- default: ++ default: ; + } + + return reclist; +@@ -655,7 +655,7 @@ + case GDA_CONNECTION_FEATURE_SQL : + case GDA_CONNECTION_FEATURE_TRANSACTIONS : + return TRUE; +- default : ++ default : ; + } + + return FALSE; +@@ -1187,7 +1187,7 @@ + return get_mysql_tables (cnc, params); + case GDA_CONNECTION_SCHEMA_TYPES : + return get_mysql_types (cnc, params); +- default : ++ default : ; + } + + return NULL; diff --git a/databases/libgda3/files/patch-providers_mysql_gda-mysql-provider.c b/databases/libgda3/files/patch-providers_mysql_gda-mysql-provider.c new file mode 100644 index 0000000..4b13d3f --- /dev/null +++ b/databases/libgda3/files/patch-providers_mysql_gda-mysql-provider.c @@ -0,0 +1,30 @@ +--- patch-providers_mysql_gda-mysql-provider.c begins here --- +--- providers/mysql/gda-mysql-provider.c.orig Sat Aug 14 22:14:57 2004 ++++ providers/mysql/gda-mysql-provider.c Sat Aug 14 22:15:59 2004 +@@ -510,7 +510,7 @@ + + g_free (str); + break; +- default: ++ default: ; + } + + return reclist; +@@ -655,7 +655,7 @@ + case GDA_CONNECTION_FEATURE_SQL : + case GDA_CONNECTION_FEATURE_TRANSACTIONS : + return TRUE; +- default : ++ default : ; + } + + return FALSE; +@@ -1187,7 +1187,7 @@ + return get_mysql_tables (cnc, params); + case GDA_CONNECTION_SCHEMA_TYPES : + return get_mysql_types (cnc, params); +- default : ++ default : ; + } + + return NULL; |