* Use "Longtext" instead of "text" for new installations on blog entry
body and extended body inside database tables. (garvinhicking)
This commit is contained in:
@ -257,9 +257,9 @@ function &serendipity_db_query($sql, $single = false, $result_type = "both", $re
|
||||
*/
|
||||
function serendipity_db_schema_import($query) {
|
||||
static $search = array('{AUTOINCREMENT}', '{PRIMARY}', '{UNSIGNED}',
|
||||
'{FULLTEXT}', '{BOOLEAN}', 'int(1)', 'int(10)', 'int(11)', 'int(4)', '{UTF_8}');
|
||||
'{FULLTEXT}', '{BOOLEAN}', 'int(1)', 'int(10)', 'int(11)', 'int(4)', '{UTF_8}', '{TEXT}');
|
||||
static $replace = array('SERIAL', 'primary key', '', '', 'BOOLEAN NOT NULL', 'int2',
|
||||
'int4', 'int4', 'int4', '');
|
||||
'int4', 'int4', 'int4', '', 'text');
|
||||
|
||||
if (stristr($query, '{FULLTEXT_MYSQL}')) {
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user