SQL generators must not execute changes in DB. Just provide the needed SQL

in order to make database_manager to execute it. reset_sequence reimplemented.
This commit is contained in:
stronk7
2009-08-31 14:23:40 +00:00
parent 576ace3245
commit b1ca138716
8 changed files with 57 additions and 48 deletions
+1 -1
View File
@@ -185,7 +185,7 @@ abstract class sql_generator {
* @param string $table name of table
* @return success
*/
public abstract function reset_sequence($tablename);
public abstract function getResetSequenceSQL($tablename);
/**
* This function will return the SQL code needed to create db tables and statements