From a83d2ec7145f267b3e102e4ad14e9a8f797da7e5 Mon Sep 17 00:00:00 2001 From: Shashi Guruprasad Date: Sun, 28 Dec 2003 07:05:55 +0000 Subject: [PATCH] Had forgotten to change the text (2^16 max chars) column type to mediumtext (2^24 max chars) when I made the other changes to libdb.pm and table_regex. --- sql/database-create.sql | 5 ++--- sql/database-migrate.txt | 6 ++++++ 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/sql/database-create.sql b/sql/database-create.sql index b177785f6..caa1bbe08 100644 --- a/sql/database-create.sql +++ b/sql/database-create.sql @@ -712,7 +712,6 @@ CREATE TABLE node_idlestats ( PRIMARY KEY (node_id,tstamp) ) TYPE=MyISAM; - -- -- Table structure for table `node_rusage` -- @@ -910,7 +909,7 @@ CREATE TABLE nseconfigs ( pid varchar(12) NOT NULL default '', eid varchar(32) NOT NULL default '', vname varchar(32) NOT NULL default '', - nseconfig text, + nseconfig mediumtext, PRIMARY KEY (pid,eid,vname) ) TYPE=MyISAM; @@ -921,7 +920,7 @@ CREATE TABLE nseconfigs ( CREATE TABLE nsfiles ( pid varchar(12) NOT NULL default '', eid varchar(32) NOT NULL default '', - nsfile text, + nsfile mediumtext, PRIMARY KEY (eid,pid) ) TYPE=MyISAM; diff --git a/sql/database-migrate.txt b/sql/database-migrate.txt index f6dcc126a..013fa95c8 100644 --- a/sql/database-migrate.txt +++ b/sql/database-migrate.txt @@ -1209,3 +1209,9 @@ last_net_act,last_cpu_act,last_ext_act); ) TYPE=MyISAM; 1.213: Minor whitespace change to make schemacheck happy. + +1.214: Changes to nsfiles and nseconfigs tables to accomodate + larger nsfiles and nse configuration information. + + alter table nseconfigs modify nseconfig mediumtext; + alter table nsfiles modify nsfile mediumtext; -- GitLab