mirror of
https://github.com/e107inc/e107.git
synced 2025-08-18 04:12:00 +02:00
Fixes #4155 - database verification was failing when field name ended in a digit.
This commit is contained in:
@@ -48,6 +48,7 @@
|
||||
table_description text,
|
||||
table_summary text,
|
||||
table_media text,
|
||||
table_email2 tinyint(3) unsigned NOT NULL default '0',
|
||||
PRIMARY KEY (table_id)";
|
||||
|
||||
$expected = array (
|
||||
@@ -179,6 +180,14 @@
|
||||
'null' => '',
|
||||
'default' => '',
|
||||
),
|
||||
'table_email2' =>
|
||||
array (
|
||||
'type' => 'TINYINT',
|
||||
'value' => '3',
|
||||
'attributes' => 'UNSIGNED',
|
||||
'null' => 'NOT NULL',
|
||||
'default' => 'DEFAULT \'0\'',
|
||||
),
|
||||
);
|
||||
|
||||
$actual = $this->dbv->getFields($data);
|
||||
@@ -528,7 +537,8 @@
|
||||
PRIMARY KEY (rate_id)
|
||||
) ENGINE=MyISAM;
|
||||
|
||||
"
|
||||
",
|
||||
|
||||
);
|
||||
|
||||
$expected = array(
|
||||
|
Reference in New Issue
Block a user