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
971252b1
Commit
971252b1
authored
Feb 05, 2009
by
kent.boortz@sun.com
Committed by
MySQL Build Team
Feb 05, 2009
Browse files
Options
Browse Files
Download
Plain Diff
Merge from mysql-5.1.31-release
parents
4382222e
47844077
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
5 deletions
+14
-5
scripts/make_binary_distribution.sh
scripts/make_binary_distribution.sh
+8
-1
storage/innobase/handler/ha_innodb.cc
storage/innobase/handler/ha_innodb.cc
+5
-3
storage/innobase/row/row0mysql.c
storage/innobase/row/row0mysql.c
+1
-1
No files found.
scripts/make_binary_distribution.sh
View file @
971252b1
...
@@ -60,13 +60,16 @@ STRIP=1 # Option ignored
...
@@ -60,13 +60,16 @@ STRIP=1 # Option ignored
SILENT
=
0
SILENT
=
0
PLATFORM
=
""
PLATFORM
=
""
TMP
=
/tmp
TMP
=
/tmp
NEW_NAME
=
""
# Final top directory and TAR package name
SUFFIX
=
""
SUFFIX
=
""
SHORT_PRODUCT_TAG
=
""
# If don't want server suffix in package name
NDBCLUSTER
=
""
# Option ignored
NDBCLUSTER
=
""
# Option ignored
for
arg
do
for
arg
do
case
"
$arg
"
in
case
"
$arg
"
in
--tmp
=
*
)
TMP
=
`
echo
"
$arg
"
|
sed
-e
"s;--tmp=;;"
`
;;
--tmp
=
*
)
TMP
=
`
echo
"
$arg
"
|
sed
-e
"s;--tmp=;;"
`
;;
--suffix
=
*
)
SUFFIX
=
`
echo
"
$arg
"
|
sed
-e
"s;--suffix=;;"
`
;;
--suffix
=
*
)
SUFFIX
=
`
echo
"
$arg
"
|
sed
-e
"s;--suffix=;;"
`
;;
--short-product-tag
=
*
)
SHORT_PRODUCT_TAG
=
`
echo
"
$arg
"
|
sed
-e
"s;--short-product-tag=;;"
`
;;
--no-strip
)
STRIP
=
0
;;
--no-strip
)
STRIP
=
0
;;
--machine
=
*
)
machine
=
`
echo
"
$arg
"
|
sed
-e
"s;--machine=;;"
`
;;
--machine
=
*
)
machine
=
`
echo
"
$arg
"
|
sed
-e
"s;--machine=;;"
`
;;
--platform
=
*
)
PLATFORM
=
`
echo
"
$arg
"
|
sed
-e
"s;--platform=;;"
`
;;
--platform
=
*
)
PLATFORM
=
`
echo
"
$arg
"
|
sed
-e
"s;--platform=;;"
`
;;
...
@@ -113,7 +116,11 @@ case $PLATFORM in
...
@@ -113,7 +116,11 @@ case $PLATFORM in
esac
esac
# Change the distribution to a long descriptive name
# Change the distribution to a long descriptive name
NEW_NAME
=
mysql@MYSQL_SERVER_SUFFIX@-@VERSION@-
$PLATFORM$SUFFIX
if
[
x
"
$SHORT_PRODUCT_TAG
"
!=
x
""
]
;
then
NEW_NAME
=
mysql-
$SHORT_PRODUCT_TAG
-@VERSION@-
$PLATFORM$SUFFIX
else
NEW_NAME
=
mysql@MYSQL_SERVER_SUFFIX@-@VERSION@-
$PLATFORM$SUFFIX
fi
# ----------------------------------------------------------------------
# ----------------------------------------------------------------------
# Define BASE, and remove the old BASE directory if any
# Define BASE, and remove the old BASE directory if any
...
...
storage/innobase/handler/ha_innodb.cc
View file @
971252b1
...
@@ -6024,11 +6024,13 @@ ha_innobase::info(
...
@@ -6024,11 +6024,13 @@ ha_innobase::info(
n_rows
++
;
n_rows
++
;
}
}
/* Fix bug#29507: TRUNCATE shows too many rows affected.
/* Fix bug#40386: Not flushing query cache after truncate.
Do not show the estimates for TRUNCATE command. */
n_rows can not be 0 unless the table is empty, set to 1
instead. The original problem of bug#29507 is actually
fixed in the server code. */
if
(
thd_sql_command
(
user_thd
)
==
SQLCOM_TRUNCATE
)
{
if
(
thd_sql_command
(
user_thd
)
==
SQLCOM_TRUNCATE
)
{
n_rows
=
0
;
n_rows
=
1
;
/* We need to reset the prebuilt value too, otherwise
/* We need to reset the prebuilt value too, otherwise
checks for values greater than the last value written
checks for values greater than the last value written
...
...
storage/innobase/row/row0mysql.c
View file @
971252b1
...
@@ -342,7 +342,7 @@ row_mysql_store_col_in_innobase_format(
...
@@ -342,7 +342,7 @@ row_mysql_store_col_in_innobase_format(
/* In some cases we strip trailing spaces from UTF-8 and other
/* In some cases we strip trailing spaces from UTF-8 and other
multibyte charsets, from FIXED-length CHAR columns, to save
multibyte charsets, from FIXED-length CHAR columns, to save
space. UTF-8 would otherwise normally use 3 * the string length
space. UTF-8 would otherwise normally use 3 * the string length
bytes to store a
latin1
string! */
bytes to store a
n ASCII
string! */
/* We assume that this CHAR field is encoded in a
/* We assume that this CHAR field is encoded in a
variable-length character set where spaces have
variable-length character set where spaces have
...
...
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