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
8e54dece
Commit
8e54dece
authored
Mar 16, 2005
by
monty@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
into mysql.com:/home/my/mysql-5.0
parents
1a9e05dd
9a52ffbf
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
24 additions
and
21 deletions
+24
-21
.bzrignore
.bzrignore
+1
-0
client/mysql.cc
client/mysql.cc
+1
-1
innobase/row/row0sel.c
innobase/row/row0sel.c
+10
-4
mysql-test/mysql-test-run.sh
mysql-test/mysql-test-run.sh
+8
-6
mysql-test/t/disabled.def
mysql-test/t/disabled.def
+0
-8
sql/ha_innodb.cc
sql/ha_innodb.cc
+4
-2
No files found.
.bzrignore
View file @
8e54dece
...
...
@@ -1106,3 +1106,4 @@ vio/test-ssl
vio/test-sslclient
vio/test-sslserver
vio/viotest-ssl
VC++Files/client/mysql_amd64.dsp
client/mysql.cc
View file @
8e54dece
...
...
@@ -2154,7 +2154,7 @@ print_table_data_xml(MYSQL_RES *result)
for
(
uint
i
=
0
;
i
<
mysql_num_fields
(
result
);
i
++
)
{
tee_fprintf
(
PAGER
,
"
\t
<field name=
\"
"
);
xmlencode_print
(
fields
[
i
].
name
,
strlen
(
fields
[
i
].
name
));
xmlencode_print
(
fields
[
i
].
name
,
(
uint
)
strlen
(
fields
[
i
].
name
));
tee_fprintf
(
PAGER
,
"
\"
>"
);
xmlencode_print
(
cur
[
i
],
lengths
[
i
]);
tee_fprintf
(
PAGER
,
"</field>
\n
"
);
...
...
innobase/row/row0sel.c
View file @
8e54dece
...
...
@@ -2100,9 +2100,12 @@ row_sel_convert_mysql_key_to_innobase(
/* Calculate data length and data field total length */
if
(
type
==
DATA_BLOB
)
{
/* The key field is a column prefix of a BLOB or
TEXT type column */
if
(
type
==
DATA_BLOB
||
(
type
==
DATA_VARCHAR
&&
dtype_get_mysql_type
(
dfield_get_type
(
dfield
))
==
DATA_MYSQL_TRUE_VARCHAR
))
{
/* The key field is a column prefix of a BLOB,
TEXT, OR TRUE VARCHAR type column */
ut_a
(
field
->
prefix_len
>
0
);
...
...
@@ -2118,7 +2121,10 @@ row_sel_convert_mysql_key_to_innobase(
data_len
=
key_ptr
[
data_offset
]
+
256
*
key_ptr
[
data_offset
+
1
];
data_field_len
=
data_offset
+
2
+
field
->
prefix_len
;
if
(
type
==
DATA_BLOB
)
{
data_offset
+=
2
;
}
/* now that we know the length, we store the column
value like it would be a fixed char field */
...
...
mysql-test/mysql-test-run.sh
View file @
8e54dece
...
...
@@ -1541,6 +1541,7 @@ run_testcase ()
disable_test
$tname
"
$comment
"
return
fi
if
[
-f
"
$TESTDIR
/disabled.def"
]
;
then
comment
=
`
$GREP
"^
$tname
*: *"
$TESTDIR
/disabled.def
`
;
if
[
-n
"
$comment
"
]
then
...
...
@@ -1548,6 +1549,7 @@ run_testcase ()
disable_test
$tname
"
$comment
"
return
fi
fi
if
[
"x
$USE_EMBEDDED_SERVER
"
!=
"x1"
]
;
then
# Stop all slave threads, so that we don't have useless reconnection
...
...
mysql-test/t/disabled.def
View file @
8e54dece
...
...
@@ -10,11 +10,3 @@
#
##############################################################################
ndb_alter_table : NDB team needs to fix
ndb_autodiscover : NDB team needs to fix
ndb_autodiscover2 : NDB team needs to fix
ndb_cache_multi : NDB team needs to fix
ndb_cache_multi2 : NDB team needs to fix
ndb_multi : NDB team needs to fix
ndb_restore : NDB team needs to fix
sql/ha_innodb.cc
View file @
8e54dece
...
...
@@ -3021,9 +3021,11 @@ calc_row_difference(
col_pack_len
,
prebuilt
->
table
->
comp
);
ufield
->
new_val
.
data
=
dfield_get_data
(
&
dfield
);
dfield_get_data_noninline
(
&
dfield
);
ufield
->
new_val
.
len
=
dfield_get_len
(
&
dfield
);
dfield_get_len_noninline
(
&
dfield
);
}
else
{
ufield
->
new_val
.
data
=
NULL
;
ufield
->
new_val
.
len
=
UNIV_SQL_NULL
;
...
...
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