Add support for auto-increment on ROCKSDB
Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
parent
450fdab3d0
commit
47bd88dffa
@ -1131,7 +1131,7 @@ class Operations
|
||||
} // end if (ARIA)
|
||||
|
||||
if (strlen($auto_increment) > 0
|
||||
&& $pma_table->isEngine(array('MYISAM', 'ARIA', 'INNODB', 'PBXT'))
|
||||
&& $pma_table->isEngine(array('MYISAM', 'ARIA', 'INNODB', 'PBXT', 'ROCKSDB'))
|
||||
) {
|
||||
$html_output .= '<tr><td class="vmiddle">'
|
||||
. '<label for="auto_increment_opt">AUTO_INCREMENT</label></td>'
|
||||
@ -1836,7 +1836,7 @@ class Operations
|
||||
$table_alters[] = 'delay_key_write = ' . $_POST['new_delay_key_write'];
|
||||
}
|
||||
|
||||
if ($pma_table->isEngine(array('MYISAM', 'ARIA', 'INNODB', 'PBXT'))
|
||||
if ($pma_table->isEngine(array('MYISAM', 'ARIA', 'INNODB', 'PBXT', 'ROCKSDB'))
|
||||
&& ! empty($_POST['new_auto_increment'])
|
||||
&& (! isset($auto_increment)
|
||||
|| $_POST['new_auto_increment'] !== $auto_increment)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user