~drizzle-trunk/drizzle/development

0.67.305 by Bernt M. Johnsen
Copyright headres and license added
1
# Copyright (C) 2008-2009 Sun Microsystems, Inc. All rights reserved.
2
# Use is subject to license terms.
3
#
4
# This program is free software; you can redistribute it and/or modify
5
# it under the terms of the GNU General Public License as published by
6
# the Free Software Foundation; version 2 of the License.
7
#
8
# This program is distributed in the hope that it will be useful, but
9
# WITHOUT ANY WARRANTY; without even the implied warranty of
10
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11
# General Public License for more details.
12
#
13
# You should have received a copy of the GNU General Public License
14
# along with this program; if not, write to the Free Software
15
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
16
# USA
17
0.67.1 by Philip Stoev
initial import from internal tree
18
query:
19
	delete | insert | update ;
20
21
xid_event:
22
	START TRANSACTION | COMMIT ;
23
insert:
24
	INSERT INTO table_name ( field_name ) VALUES ( _charset ' letter ' ) ;
25
26
update:
27
	UPDATE table_name SET field_name = _charset ' letter ' WHERE field_name oper _charset ' letter ';
28
29
delete:
30
	DELETE FROM table_name WHERE field_name oper _charset ' letter ';
31
32
table_name:
33
	_table ;
34
35
field_name:
0.67.178 by Philip Stoev
add col_ prefix in front of all fields in all grammars to conform with new column naming style
36
	`col_varchar_key` | `col_varchar_nokey` ;
0.67.1 by Philip Stoev
initial import from internal tree
37
38
oper:
39
	= | > | < | >= | <= | <> ;