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
b911f9b0
Commit
b911f9b0
authored
Feb 05, 2004
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
code cleanup
parent
22b2067a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
11 deletions
+3
-11
mysql-test/t/init_file.test
mysql-test/t/init_file.test
+2
-10
sql/sql_class.cc
sql/sql_class.cc
+1
-1
No files found.
mysql-test/t/init_file.test
View file @
b911f9b0
#
# This test is first part of test init_file_part2.test (bug #2526)
# This test is for bug #2526 "--init-file crashes MySQL if contains large select"
# Have a look at code in init_file.sql
#
#DROP TABLE IF EXISTS t1;
#CREATE TABLE t1
#(
# i int(11) default NULL
#) TYPE=MyISAM;
#INSERT INTO t1 VALUES (1),(2),(3),(4),(5),(6),(7),(8),(9),(10);
\ No newline at end of file
sql/sql_class.cc
View file @
b911f9b0
...
...
@@ -495,7 +495,7 @@ bool select_send::send_data(List<Item> &items)
}
}
thd
->
sent_row_count
++
;
if
(
thd
->
bootstrap
)
if
(
!
thd
->
net
.
vio
)
DBUG_RETURN
(
0
);
bool
error
=
my_net_write
(
&
thd
->
net
,(
char
*
)
packet
->
ptr
(),
packet
->
length
());
DBUG_RETURN
(
error
);
...
...
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