Modified:
trunk/TestSuite/Source/StoredProcedure.cs
Log:
added version checks to some stored proc tests
Modified: trunk/TestSuite/Source/StoredProcedure.cs
===================================================================
--- trunk/TestSuite/Source/StoredProcedure.cs 2008-02-06 18:32:41 UTC (rev 1162)
+++ trunk/TestSuite/Source/StoredProcedure.cs 2008-02-06 18:34:40 UTC (rev 1163)
@@ -824,7 +824,9 @@
[Test]
public void ProcedureCache()
{
- // open a new connection using a procedure cache
+ if (version < new Version(5, 0)) return;
+
+ // open a new connection using a procedure cache
string connStr = GetConnectionString(true);
connStr += ";procedure cache size=25;logging=true";
MySqlConnection c = new MySqlConnection(connStr);
@@ -1369,6 +1371,8 @@
[Test]
public void CallingFunction()
{
+ if (version < new Version(5, 0)) return;
+
execSQL("DROP FUNCTION IF EXISTS spFunc");
execSQL(@"CREATE FUNCTION `GetSupplierBalance`(SupplierID_ INTEGER(11))
RETURNS double NOT DETERMINISTIC CONTAINS SQL SQL SECURITY DEFINER
| Thread |
|---|
| • Connector/NET commit: r1163 - trunk/TestSuite/Source | rburnett | 6 Feb |