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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
ede742b6
Commit
ede742b6
authored
Jul 04, 2003
by
serg@serg.mylan
Browse files
Options
Browse Files
Download
Plain Diff
Merge bk-internal:/home/bk/mysql-4.0/
into serg.mylan:/usr/home/serg/Abk/mysql-4.0
parents
c835c868
40b6d074
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
0 deletions
+9
-0
mysql-test/r/handler.result
mysql-test/r/handler.result
+2
-0
mysql-test/t/handler.test
mysql-test/t/handler.test
+2
-0
sql/sql_handler.cc
sql/sql_handler.cc
+5
-0
No files found.
mysql-test/r/handler.result
View file @
ede742b6
...
@@ -151,4 +151,6 @@ insert into t1 values (1), (2), (3);
...
@@ -151,4 +151,6 @@ insert into t1 values (1), (2), (3);
handler t1 open;
handler t1 open;
handler t1 read a=(W);
handler t1 read a=(W);
Unknown column 'W' in 'field list'
Unknown column 'W' in 'field list'
handler t1 read a=(a);
Wrong arguments to HANDLER ... READ
drop table t1;
drop table t1;
mysql-test/t/handler.test
View file @
ede742b6
...
@@ -88,5 +88,7 @@ insert into t1 values (1), (2), (3);
...
@@ -88,5 +88,7 @@ insert into t1 values (1), (2), (3);
handler
t1
open
;
handler
t1
open
;
--
error
1054
--
error
1054
handler
t1
read
a
=
(
W
);
handler
t1
read
a
=
(
W
);
--
error
1210
handler
t1
read
a
=
(
a
);
drop
table
t1
;
drop
table
t1
;
sql/sql_handler.cc
View file @
ede742b6
...
@@ -195,6 +195,11 @@ int mysql_ha_read(THD *thd, TABLE_LIST *tables,
...
@@ -195,6 +195,11 @@ int mysql_ha_read(THD *thd, TABLE_LIST *tables,
{
{
if
(
item
->
fix_fields
(
thd
,
tables
))
if
(
item
->
fix_fields
(
thd
,
tables
))
goto
err
;
goto
err
;
if
(
item
->
used_tables
()
&
~
RAND_TABLE_BIT
)
{
my_error
(
ER_WRONG_ARGUMENTS
,
MYF
(
0
),
"HANDLER ... READ"
);
goto
err
;
}
item
->
save_in_field
(
key_part
->
field
,
1
);
item
->
save_in_field
(
key_part
->
field
,
1
);
key_len
+=
key_part
->
store_length
;
key_len
+=
key_part
->
store_length
;
}
}
...
...
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