~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/innobase/mysql-test/innodb_bug46000.result

  • Committer: Mats Kindahl
  • Date: 2008-08-26 07:32:59 UTC
  • mto: (489.1.2 codestyle)
  • mto: This revision was merged to the branch mainline in revision 491.
  • Revision ID: mats@mysql.com-20080826073259-9k4evtajgldgolli
Replaced use of thd_proc_info() macro with calls to
set_proc_info() and get_proc_info() internally.  Introduced
functions set_thd_proc_info() and get_thd_proc_info() for
external users, i.e., plug-ins.

The set_thd_proc_info() accepted callers info that can be used to
print debug output, but the information was not used. The return
value was changed to void and the old value is not fetched any
more. To be able to get the value of proc_info for external
users, the function get_thd_proc_info() was introduced.

The thd_proc_info() macro called set_thd_proc_info() but almost
never used the return value of set_thd_proc_info() so the macro
was replaced with a call of THD::set_proc_info().

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
create table bug46000(`id` int,key `GEN_CLUST_INDEX`(`id`))engine=innodb;
2
 
ERROR 42000: Incorrect index name 'GEN_CLUST_INDEX'
3
 
create table bug46000(`id` int, key `GEN_clust_INDEX`(`id`))engine=innodb;
4
 
ERROR 42000: Incorrect index name 'GEN_CLUST_INDEX'
5
 
show warnings;
6
 
Level   Code    Message
7
 
Warning 1280    Cannot Create Index with name 'GEN_CLUST_INDEX'. The name is reserved for the system default primary index.
8
 
Error   1280    Incorrect index name 'GEN_CLUST_INDEX'
9
 
Error   1005    Can't create table 'test.bug46000' (errno: -1)
10
 
create table bug46000(id int) engine=innodb;
11
 
create index GEN_CLUST_INDEX on bug46000(id);
12
 
ERROR 42000: Incorrect index name 'GEN_CLUST_INDEX'
13
 
show warnings;
14
 
Level   Code    Message
15
 
Warning 1280    Cannot Create Index with name 'GEN_CLUST_INDEX'. The name is reserved for the system default primary index.
16
 
Error   1280    Incorrect index name 'GEN_CLUST_INDEX'
17
 
Error   1030    Got error -1 from storage engine
18
 
create index idx on bug46000(id);
19
 
drop table bug46000;