Permalink
Browse files

Get all required information about a sequence from the information_sc…

…hema.
  • Loading branch information...
1 parent 200ebd8 commit 15e3204c90bc711b8b1d9bc826d263d7822adb05 @posulliv committed Aug 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Doctrine/DBAL/Platforms/AkibanServerPlatform.php
@@ -192,7 +192,7 @@ public function getListDatabasesSQL()
public function getListSequencesSQL($database)
{
- return "SELECT sequence_name, sequence_schema as schemaname " .
+ return "SELECT sequence_name, sequence_schema as schemaname, increment as increment_by, minimum_value as min_value " .
"FROM information_schema.sequences " .
"WHERE sequence_name != 'information_schema'";
}

0 comments on commit 15e3204

Please sign in to comment.