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
d9dfba6e
Commit
d9dfba6e
authored
Mar 16, 2003
by
monty@mashka.mysql.fi
Browse files
Options
Browse Files
Download
Plain Diff
Merge bk-internal.mysql.com:/home/bk/mysql-3.23
into mashka.mysql.fi:/home/my/mysql-3.23
parents
369da478
852b1b3d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
15 deletions
+10
-15
configure.in
configure.in
+1
-1
innobase/row/row0mysql.c
innobase/row/row0mysql.c
+1
-1
innobase/row/row0sel.c
innobase/row/row0sel.c
+8
-13
No files found.
configure.in
View file @
d9dfba6e
...
@@ -4,7 +4,7 @@ dnl Process this file with autoconf to produce a configure script.
...
@@ -4,7 +4,7 @@ dnl Process this file with autoconf to produce a configure script.
AC_INIT
(
sql/mysqld.cc
)
AC_INIT
(
sql/mysqld.cc
)
AC_CANONICAL_SYSTEM
AC_CANONICAL_SYSTEM
# The Docs Makefile.am parses this line!
# The Docs Makefile.am parses this line!
AM_INIT_AUTOMAKE
(
mysql, 3.23.5
6
)
AM_INIT_AUTOMAKE
(
mysql, 3.23.5
7
)
AM_CONFIG_HEADER
(
config.h
)
AM_CONFIG_HEADER
(
config.h
)
PROTOCOL_VERSION
=
10
PROTOCOL_VERSION
=
10
...
...
innobase/row/row0mysql.c
View file @
d9dfba6e
...
@@ -6,7 +6,7 @@ Contains also create table and other data dictionary operations.
...
@@ -6,7 +6,7 @@ Contains also create table and other data dictionary operations.
Created 9/17/2000 Heikki Tuuri
Created 9/17/2000 Heikki Tuuri
*******************************************************/
*******************************************************/
#include "row0mysql.h"
#include "row0mysql.h"
#ifdef UNIV_NONINL
#ifdef UNIV_NONINL
...
...
innobase/row/row0sel.c
View file @
d9dfba6e
...
@@ -2115,19 +2115,14 @@ row_sel_store_mysql_rec(
...
@@ -2115,19 +2115,14 @@ row_sel_store_mysql_rec(
extern_field_heap
=
NULL
;
extern_field_heap
=
NULL
;
}
}
}
else
{
}
else
{
/* MySQL sometimes seems to copy the 'data'
/* MySQL seems to assume the field for an SQL NULL
pointed to by a BLOB field even if the field
value is set to zero. Not taking this into account
has been marked to contain the SQL NULL value.
caused seg faults with NULL BLOB fields, and
This caused seg faults reported by two users.
bug number 154 in the MySQL bug database: GROUP BY
Set the BLOB length to 0 and the data pointer
and DISTINCT could treat NULL values inequal. */
to NULL to avoid a seg fault. */
memset
(
mysql_rec
+
templ
->
mysql_col_offset
,
'\0'
,
if
(
templ
->
type
==
DATA_BLOB
)
{
templ
->
mysql_col_len
);
row_sel_field_store_in_mysql_format
(
mysql_rec
+
templ
->
mysql_col_offset
,
templ
->
mysql_col_len
,
NULL
,
0
,
templ
->
type
,
templ
->
is_unsigned
);
}
if
(
!
templ
->
mysql_null_bit_mask
)
{
if
(
!
templ
->
mysql_null_bit_mask
)
{
fprintf
(
stderr
,
fprintf
(
stderr
,
...
...
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