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
ee763533
Commit
ee763533
authored
Oct 17, 2000
by
monty@donna.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed benchmarks and compare of NULL with <>
parent
828bff91
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
2 deletions
+12
-2
Docs/manual.texi
Docs/manual.texi
+2
-0
include/config-win.h
include/config-win.h
+1
-1
sql-bench/test-insert.sh
sql-bench/test-insert.sh
+8
-0
sql/item_cmpfunc.cc
sql/item_cmpfunc.cc
+1
-1
No files found.
Docs/manual.texi
View file @
ee763533
...
...
@@ -38035,6 +38035,8 @@ though, so 3.23 is not released as a stable version yet.
@appendixsubsec Changes in release 3.23.26
@itemize @bullet
@item
Fixed that @code{<>} works properly with @code{NULL}.
@item
Fixed problem with @code{SUBSTRING_INDEX()} and @code{REPLACE()}.
(Patch by Alexander Igonitchev)
@item
include/config-win.h
View file @
ee763533
...
...
@@ -33,7 +33,7 @@
#endif
#ifdef _WIN64
#define MACHINE_TYPE "i64"
/* Define to machine type name */
#define MACHINE_TYPE "i
a
64"
/* Define to machine type name */
#else
#define MACHINE_TYPE "i32"
/* Define to machine type name */
#ifndef _WIN32
...
...
sql-bench/test-insert.sh
View file @
ee763533
...
...
@@ -867,6 +867,10 @@ if ($server->small_rollback_segment())
if
(
$limits
->
{
'insert_select'
})
{
if
(
$opt_lock_tables
)
{
$sth
=
$dbh
->do
(
"UNLOCK TABLES"
)
||
die
$DBI
::errstr
;
}
print
"
\n
Testing INSERT INTO ... SELECT
\n
"
;
do_many
(
$dbh
,
$server
->create
(
"bench2"
,
[
"id int NOT NULL"
,
...
...
@@ -911,6 +915,10 @@ if ($limits->{'insert_select'})
$dbh
->disconnect
;
# close connection
$dbh
=
$server
->connect
()
;
}
if
(
$opt_lock_tables
)
{
$sth
=
$dbh
->do
(
"LOCK TABLES bench1 WRITE"
)
||
die
$DBI
::errstr
;
}
}
...
...
sql/item_cmpfunc.cc
View file @
ee763533
...
...
@@ -185,7 +185,7 @@ longlong Item_func_equal::val_int()
longlong
Item_func_ne
::
val_int
()
{
int
value
=
(
this
->*
cmp_func
)();
return
value
!=
0
?
1
:
0
;
return
value
!=
0
&&
!
null_value
?
1
:
0
;
}
...
...
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