1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00

Fix MySQL backend support build with gcc 3.4

PR:		70477
Submitted by:	Sascha Holzleiter <sascha@root-login.org>
This commit is contained in:
Alexander Nedotsukov 2004-08-15 12:32:02 +00:00
parent 153f0ae562
commit 2efcd87f3b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=116247
2 changed files with 60 additions and 0 deletions

View File

@ -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;

View File

@ -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;