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
128751d3
Commit
128751d3
authored
Feb 05, 2004
by
vva@eagle.mysql.r18.ru
Browse files
Options
Browse Files
Download
Plain Diff
Merge eagle.mysql.r18.ru:/home/vva/work/mysql.orig/clear/mysql-4.0
into eagle.mysql.r18.ru:/home/vva/work/BUG_2526/mysql-4.0
parents
b73b0f78
fedeafae
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
0 deletions
+8
-0
mysql-test/t/init_file-master.opt
mysql-test/t/init_file-master.opt
+1
-0
mysql-test/t/init_file.sql
mysql-test/t/init_file.sql
+1
-0
mysql-test/t/init_file.test
mysql-test/t/init_file.test
+4
-0
sql/sql_class.cc
sql/sql_class.cc
+2
-0
No files found.
mysql-test/t/init_file-master.opt
0 → 100644
View file @
128751d3
--init-file=$MYSQL_TEST_DIR/t/init_file.sql
\ No newline at end of file
mysql-test/t/init_file.sql
0 → 100644
View file @
128751d3
select
*
from
mysql
.
user
as
t1
,
mysql
.
user
as
t2
,
mysql
.
user
as
t3
,
mysql
.
user
as
t4
,
mysql
.
user
as
t5
,
mysql
.
user
as
t6
,
mysql
.
user
as
t7
,
mysql
.
user
as
t8
;
\ No newline at end of file
mysql-test/t/init_file.test
0 → 100644
View file @
128751d3
#
# This test is for bug #2526 "--init-file crashes MySQL if contains large select"
# Have a look at code in init_file.sql
#
sql/sql_class.cc
View file @
128751d3
...
...
@@ -495,6 +495,8 @@ bool select_send::send_data(List<Item> &items)
}
}
thd
->
sent_row_count
++
;
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