Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
7d091201
Commit
7d091201
authored
Mar 27, 2003
by
monty@mashka.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
After merge fixes
parent
3bed7a61
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
6 deletions
+4
-6
mysql-test/r/query_cache.result
mysql-test/r/query_cache.result
+0
-1
mysql-test/t/query_cache.test
mysql-test/t/query_cache.test
+1
-2
sql/sql_parse.cc
sql/sql_parse.cc
+1
-1
sql/sql_yacc.yy
sql/sql_yacc.yy
+2
-2
No files found.
mysql-test/r/query_cache.result
View file @
7d091201
...
@@ -566,7 +566,6 @@ show status like "Qcache_queries_in_cache";
...
@@ -566,7 +566,6 @@ show status like "Qcache_queries_in_cache";
Variable_name Value
Variable_name Value
Qcache_queries_in_cache 0
Qcache_queries_in_cache 0
drop table t1;
drop table t1;
drop table if exists t1;
create table t1 (a int);
create table t1 (a int);
insert into t1 values (1),(2),(3);
insert into t1 values (1),(2),(3);
show status like "Qcache_queries_in_cache";
show status like "Qcache_queries_in_cache";
...
...
mysql-test/t/query_cache.test
View file @
7d091201
...
@@ -416,11 +416,10 @@ drop table t1;
...
@@ -416,11 +416,10 @@ drop table t1;
# INTO OUTFILE/DUMPFILE test
# INTO OUTFILE/DUMPFILE test
#
#
drop
table
if
exists
t1
;
create
table
t1
(
a
int
);
create
table
t1
(
a
int
);
insert
into
t1
values
(
1
),(
2
),(
3
);
insert
into
t1
values
(
1
),(
2
),(
3
);
show
status
like
"Qcache_queries_in_cache"
;
show
status
like
"Qcache_queries_in_cache"
;
select
*
from
t1
into
outfile
"query_caceh.out.file"
;
select
*
from
t1
into
outfile
"query_caceh.out.file"
;
select
*
from
t1
limit
1
into
dumpfile
"query_cache.dump.file"
;
select
*
from
t1
limit
1
into
dumpfile
"query_cache.dump.file"
;
show
status
like
"Qcache_queries_in_cache"
;
show
status
like
"Qcache_queries_in_cache"
;
drop
table
t1
;
drop
table
t1
;
\ No newline at end of file
sql/sql_parse.cc
View file @
7d091201
...
@@ -3433,7 +3433,7 @@ bool add_field_to_list(THD *thd, char *field_name, enum_field_types type,
...
@@ -3433,7 +3433,7 @@ bool add_field_to_list(THD *thd, char *field_name, enum_field_types type,
}
}
else
if
(
type_modifier
&
AUTO_INCREMENT_FLAG
)
else
if
(
type_modifier
&
AUTO_INCREMENT_FLAG
)
{
{
net_printf
(
&
thd
,
ER_INVALID_DEFAULT
,
field_name
);
net_printf
(
thd
,
ER_INVALID_DEFAULT
,
field_name
);
DBUG_RETURN
(
1
);
DBUG_RETURN
(
1
);
}
}
}
}
...
...
sql/sql_yacc.yy
View file @
7d091201
...
@@ -3081,7 +3081,7 @@ into:
...
@@ -3081,7 +3081,7 @@ into:
LEX *lex=Lex;
LEX *lex=Lex;
if (!lex->describe)
if (!lex->describe)
{
{
lex->uncacheable()
lex->uncacheable()
;
if (!(lex->exchange= new sql_exchange($3.str,0)))
if (!(lex->exchange= new sql_exchange($3.str,0)))
YYABORT;
YYABORT;
if (!(lex->result= new select_export(lex->exchange)))
if (!(lex->result= new select_export(lex->exchange)))
...
@@ -3094,7 +3094,7 @@ into:
...
@@ -3094,7 +3094,7 @@ into:
LEX *lex=Lex;
LEX *lex=Lex;
if (!lex->describe)
if (!lex->describe)
{
{
lex->uncacheable()
lex->uncacheable()
;
if (!(lex->exchange= new sql_exchange($3.str,1)))
if (!(lex->exchange= new sql_exchange($3.str,1)))
YYABORT;
YYABORT;
if (!(lex->result= new select_dump(lex->exchange)))
if (!(lex->result= new select_dump(lex->exchange)))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment