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
bc7e8b09
Commit
bc7e8b09
authored
Jul 09, 2002
by
hf@bisonxp.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor fixes
parent
94e4fb9d
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
4 deletions
+11
-4
BitKeeper/etc/logging_ok
BitKeeper/etc/logging_ok
+1
-0
libmysqld/lib_sql.cc
libmysqld/lib_sql.cc
+6
-0
sql/sql_handler.cc
sql/sql_handler.cc
+1
-1
sql/sql_select.cc
sql/sql_select.cc
+1
-1
sql/sql_table.cc
sql/sql_table.cc
+2
-2
No files found.
BitKeeper/etc/logging_ok
View file @
bc7e8b09
...
...
@@ -69,3 +69,4 @@ venu@work.mysql.com
worm@altair.is.lan
zak@balfor.local
zak@linux.local
hf@bisonxp.(none)
libmysqld/lib_sql.cc
View file @
bc7e8b09
...
...
@@ -813,6 +813,12 @@ bool select_send::send_data(List<Item> &items)
DBUG_ENTER
(
"send_data"
);
if
(
unit
->
offset_limit_cnt
)
{
// using limit offset,count
unit
->
offset_limit_cnt
--
;
DBUG_RETURN
(
0
);
}
thd
->
packet
.
length
(
0
);
while
((
item
=
li
++
))
{
...
...
sql/sql_handler.cc
View file @
bc7e8b09
...
...
@@ -232,7 +232,7 @@ int mysql_ha_read(THD *thd, TABLE_LIST *tables,
goto
err
;
}
}
my_net_write
(
&
thd
->
net
,
(
char
*
)
packet
->
ptr
(),
packet
->
length
());
SEND_ROW
(
thd
,
&
thd
->
net
,
list
.
elements
,
(
char
*
)
packet
->
ptr
(),
packet
->
length
());
}
}
num_rows
++
;
...
...
sql/sql_select.cc
View file @
bc7e8b09
...
...
@@ -7309,6 +7309,6 @@ static void describe_info(THD *thd, const char *info)
return
;
/* purecov: inspected */
packet
->
length
(
0
);
net_store_data
(
packet
,
info
);
if
(
!
my_net_write
(
&
thd
->
net
,
(
char
*
)
packet
->
ptr
(),
packet
->
length
()))
if
(
!
SEND_ROW
(
thd
,
&
thd
->
net
,
field_list
.
elements
,
(
char
*
)
packet
->
ptr
(),
packet
->
length
()))
send_eof
(
&
thd
->
net
);
}
sql/sql_table.cc
View file @
bc7e8b09
...
...
@@ -1101,7 +1101,7 @@ static int mysql_admin_table(THD* thd, TABLE_LIST* tables,
err_msg
=
ER
(
ER_CHECK_NO_SUCH_TABLE
);
net_store_data
(
packet
,
err_msg
);
thd
->
net
.
last_error
[
0
]
=
0
;
if
(
my_net_write
(
&
thd
->
net
,
(
char
*
)
thd
->
packet
.
ptr
(),
if
(
SEND_ROW
(
thd
,
&
thd
->
net
,
field_list
.
elements
,
(
char
*
)
thd
->
packet
.
ptr
(),
packet
->
length
()))
goto
err
;
continue
;
...
...
@@ -1116,7 +1116,7 @@ static int mysql_admin_table(THD* thd, TABLE_LIST* tables,
net_store_data
(
packet
,
buff
);
close_thread_tables
(
thd
);
table
->
table
=
0
;
// For query cache
if
(
my_net_write
(
&
thd
->
net
,
(
char
*
)
thd
->
packet
.
ptr
(),
if
(
SEND_ROW
(
thd
,
&
thd
->
net
,
field_list
.
elements
,
(
char
*
)
thd
->
packet
.
ptr
(),
packet
->
length
()))
goto
err
;
continue
;
...
...
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