List:General Discussion« Previous MessageNext Message »
From:Dan Nelson Date:July 13 2000 3:23pm
Subject:Re: [Q] reserved words
View as plain text  
In the last episode (Jul 13), Wesley Darlington said:
> On Thu, Jul 13, 2000 at 11:27:04AM +0300, Andrey Kotrekhov wrote:
> > Is "master" is reserved word in 3.23.20?
> > 
> > I can't create table with field name "master" :(
> 
> On this theme, it annoys me a little the way suddenly a new word can
> be annexed and added to the list of reserved words.  Would it be
> possible to speculatively annex a load of words in the next major
> release (eg 3.24.0) and undertake not to take any other words for the
> duration of 3.24 and 3.25? Or something...? :-)

Attached is my fix for this particular problem :)

-- 
	Dan Nelson
	dnelson@stripped

--- sql/lex.h~	Mon Jun 26 21:29:12 2000
+++ sql/lex.h	Thu Jun 29 10:57:14 2000
@@ -189,7 +189,7 @@
   { "LONGTEXT",		SYM(LONGTEXT),0,0},
   { "LOW_PRIORITY",	SYM(LOW_PRIORITY),0,0},
   { "MAX",		SYM(MAX_SYM),0,0},
-  { "MASTER",           SYM(MASTER_SYM),0,0}, 
+  { "MASTER_SERVER",           SYM(MASTER_SYM),0,0}, 
   { "MAX_ROWS",		SYM(MAX_ROWS),0,0},
   { "MATCH",		SYM(MATCH),0,0},
   { "MEDIUMBLOB",	SYM(MEDIUMBLOB),0,0},

Thread
table namesMike Hammonds12 Jul
  • AW: table namesStephan Skusa12 Jul
  • [Q] reserved wordsAndrey Kotrekhov13 Jul
    • Re: [Q] reserved wordssinisa13 Jul
    • Re: [Q] reserved wordsNicolas JOURDEN13 Jul
    • Re: [Q] reserved wordsWesley Darlington13 Jul
      • Re: [Q] reserved wordsDan Nelson13 Jul