Commit 16dae988 authored by Leigh Stoller's avatar Leigh Stoller

Bump up max size for html_fulltext and fulltext.

parent 58f2b014
......@@ -1323,8 +1323,8 @@ REPLACE INTO table_regex VALUES ('emulab_sites','os_version','text','redirect','
REPLACE INTO table_regex VALUES ('emulab_sites','perl_version','text','redirect','default:tinytext',0,0,NULL);
REPLACE INTO table_regex VALUES ('emulab_sites','tbops','text','redirect','users:usr_email',0,0,NULL);
REPLACE INTO table_regex VALUES ('default','fulltext','text','regex','^[\\040-\\073\\075\\077-\\176\\012\\015\\011]*$',0,20000,NULL);
REPLACE INTO table_regex VALUES ('default','html_fulltext','text','regex','^[\\040-\\176\\012\\015\\011]*$',0,20000,NULL);
REPLACE INTO table_regex VALUES ('default','fulltext','text','regex','^[\\040-\\073\\075\\077-\\176\\012\\015\\011]*$',0,100000,NULL);
REPLACE INTO table_regex VALUES ('default','html_fulltext','text','regex','^[\\040-\\176\\012\\015\\011]*$',0,100000,NULL);
REPLACE INTO table_regex VALUES ('default','tinytext','text','regex','^[\\040-\\073\\075\\077-\\176]*$',0,256,NULL);
REPLACE INTO table_regex VALUES ('default','html_tinytext','text','regex','^[\\040-\\176]*$',0,256,NULL);
......
use strict;
use libdb;
sub DoUpdate($$$)
{
my ($dbhandle, $dbname, $version) = @_;
DBQueryFatal("REPLACE INTO table_regex VALUES ".
" ('default','fulltext','text','regex',".
" '^[\\\\040-\\\\073\\\\075\\\\077-\\\\176\\\\012\\\\015\\\\011]*\$',".
" 0,100000,NULL)");
DBQueryFatal("REPLACE INTO table_regex VALUES ".
" ('default','html_fulltext','text','regex',".
" '^[\\\\040-\\\\176\\\\012\\\\015\\\\011]*\$',0,100000,NULL)");
return 0;
}
1;
# Local Variables:
# mode:perl
# End:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment