1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00
sql/item_create.cc:
  Auto merged
sql/item_func.h:
  Auto merged
sql/lex.h:
  Auto merged
This commit is contained in:
unknown
2002-01-03 20:00:45 +00:00
11 changed files with 39 additions and 1 deletions

View File

@ -8,6 +8,9 @@ hellomonty
select length('\n\t\r\b\0\_\%\\');
length('\n\t\r\b\0\_\%\\')
10
select bit_length('\n\t\r\b\0\_\%\\');
bit_length('\n\t\r\b\0\_\%\\')
80
select concat('monty',' was here ','again'),length('hello'),char(ascii('h'));
concat('monty',' was here ','again') length('hello') char(ascii('h'))
monty was here again 5 h

View File

@ -129,6 +129,7 @@ a b
handler t2 read next;
a b
18 eee
alter table t1 type=MyISAM;
handler t2 read next;
a b
19 fff

View File

@ -9,6 +9,7 @@ drop table if exists t1;
select 'hello',"'hello'",'""hello""','''h''e''l''l''o''',"hel""lo",'hel\'lo';
select 'hello' 'monty';
select length('\n\t\r\b\0\_\%\\');
select bit_length('\n\t\r\b\0\_\%\\');
select concat('monty',' was here ','again'),length('hello'),char(ascii('h'));
select locate('he','hello'),locate('he','hello',2),locate('lo','hello',2) ;
select instr('hello','HE'), instr('hello',binary 'HE'), instr(binary 'hello','HE');

View File

@ -58,8 +58,10 @@ handler t2 read a=(19) where b="yyy";
handler t2 read first;
handler t2 read next;
alter table t1 type=MyISAM;
handler t2 read next;
!$1064 handler t2 read last;
handler t2 close;
drop table if exists t1;