summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <serg@serg.mysql.com>2000-10-18 00:04:20 +0200
committerunknown <serg@serg.mysql.com>2000-10-18 00:04:20 +0200
commit228daf0ac7e9bf75f57e45a16f6f42caf2ef525f (patch)
treeee2fd4546106c061d851bd3e1449adffedc23c7d
parenta1daa2fe601caa4fc5d7f6a0639e18ce99be46a9 (diff)
parentae687f81506b4021fe6f0b6743d749be1bf43456 (diff)
downloadmariadb-git-228daf0ac7e9bf75f57e45a16f6f42caf2ef525f.tar.gz
Merge
Docs/manual.texi: merged
-rw-r--r--Docs/manual.texi2
-rw-r--r--include/config-win.h2
-rwxr-xr-xsql-bench/test-insert.sh8
-rw-r--r--sql/item_cmpfunc.cc2
4 files changed, 12 insertions, 2 deletions
diff --git a/Docs/manual.texi b/Docs/manual.texi
index 4e84fa2847b..650632fc9f8 100644
--- a/Docs/manual.texi
+++ b/Docs/manual.texi
@@ -38047,6 +38047,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
diff --git a/include/config-win.h b/include/config-win.h
index 024a708b3b5..3791c337cb3 100644
--- a/include/config-win.h
+++ b/include/config-win.h
@@ -33,7 +33,7 @@
#endif
#ifdef _WIN64
-#define MACHINE_TYPE "i64" /* Define to machine type name */
+#define MACHINE_TYPE "ia64" /* Define to machine type name */
#else
#define MACHINE_TYPE "i32" /* Define to machine type name */
#ifndef _WIN32
diff --git a/sql-bench/test-insert.sh b/sql-bench/test-insert.sh
index a6161781ba9..e6690b043f1 100755
--- a/sql-bench/test-insert.sh
+++ b/sql-bench/test-insert.sh
@@ -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 "\nTesting 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;
+ }
}
diff --git a/sql/item_cmpfunc.cc b/sql/item_cmpfunc.cc
index 0a75998ffe1..a2686fd43d9 100644
--- a/sql/item_cmpfunc.cc
+++ b/sql/item_cmpfunc.cc
@@ -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;
}