Update of /cvsroot/monetdb/sql/src/test/Dependencies/Tests
In directory sc8-pr-cvs16:/tmp/cvs-serv17518/Tests

Modified Files:
        Dependencies.SQL Dependencies.stable.out 
Log Message:
Modifications to see if the dependencies are detected byb the name or the 
signature.
Looking to the result of the test it seems that dependencies were following the 
correct approach
(dependencies on functions is done with full signature).

 


Index: Dependencies.SQL
===================================================================
RCS file: /cvsroot/monetdb/sql/src/test/Dependencies/Tests/Dependencies.SQL,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- Dependencies.SQL    3 Jan 2007 12:39:52 -0000       1.4
+++ Dependencies.SQL    29 Apr 2007 09:50:24 -0000      1.5
@@ -35,6 +35,10 @@
 $SQL < ${RELSRCDIR}/../dependency_DBobjects.sql
 echo done
 
+echo Dependencies between functions with same name
+$SQL < ${RELSRCDIR}/../dependency_functions.sql
+echo done
+
 echo Cleanup
 $SQL < ${RELSRCDIR}/../dependency_owner_schema_3.sql
 echo done

Index: Dependencies.stable.out
===================================================================
RCS file: 
/cvsroot/monetdb/sql/src/test/Dependencies/Tests/Dependencies.stable.out,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- Dependencies.stable.out     28 Apr 2007 12:58:40 -0000      1.6
+++ Dependencies.stable.out     29 Apr 2007 09:50:24 -0000      1.7
@@ -131,6 +131,23 @@
 % 10,  13,     8 # length
 [ "t1_id_pkey",        "t2_id_t1_fkey",        "DEP_FKEY"      ]
 done
+Dependencies between functions with same name
+% sys.f1,      sys.f2, . # table_name
+% name,        name,   single_value # name
+% varchar,     varchar,        char # type
+% 2,   2,      8 # length
+[ ">", "f1",   "DEP_FUNC"      ]
+[ "<", "f2",   "DEP_FUNC"      ]
+[ ">", "f2",   "DEP_FUNC"      ]
+[ "f1",        "f2",   "DEP_FUNC"      ]
+[ "f1",        "f2",   "DEP_FUNC"      ]
+[ "<", "f3",   "DEP_FUNC"      ]
+[ "f1",        "f3",   "DEP_FUNC"      ]
+% sys.f1,      sys.f2, . # table_name
+% name,        name,   single_value # name
+% varchar,     varchar,        char # type
+% 0,   0,      8 # length
+done
 Cleanup
 % sys.s,       sys.u,  . # table_name
 % name,        name,   single_value # name


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins

Reply via email to