Commit c6927205 authored by Paul McCullagh's avatar Paul McCullagh

Merged with trunk and added Release notes

parent 6a8ec4a2
PBXT Release Notes
==================
------- 1.0.09f RC3 - 2009-11-25
RN290: Fixed bug #345524: pbxt does not compile on 64 bit windows. Currently atomic operations are not supported on this platform.
RN286: Fixed a bug introduced in RN281, which could cause an index scan to hang. The original change was to prevent a warning in Valgrind.
RN285: Merged changes required to compile with Drizzle.
RN284: Fixed bug that cause the error "[ERROR] Invalid (old?) table or database name 'mysqld.1'", when running temp_table.test under MariaDB (thanks to Monty for his initial bug fix). Added a fix for partition table names as well.
RN283: Added win_inttypes.h to the distribution. This file is only required for the Windows build.
RN282: Fixed bug #451101: jump or move depends on uninitialised value in myxt_get_key_length
RN281: Fixed bug #451080: Uninitialised memory write in XTDatabaseLog::xlog_append
RN280: Fixed bug #451085: jump or move depends on uninitialised value in my_type_to_string
RN279: Fixed bug #441000: xtstat crashes with segmentation fault on startup if max_pbxt_threads exceeded.
------- 1.0.09e RC3 - 2009-11-20
RN278: Fixed compile error with MySQL 5.1.41.
------- 1.0.09d RC3 - 2009-09-30
RN277: Added r/o flag to pbxt_max_threads server variable (this fix is related to bug #430637)
RN276: Added test case for replication on tables w/o PKs (see bug #430716)
RN275: Fixed bug #430600: 'Failed to read auto-increment value from storage engine' error.
RN274: Fixed bug #431240: This report is public edit xtstat fails if no PBXT table has been created. xtstat now accepts --database=information_schema or --database=pbxt. Depending on this setting PBXT will either use the information_schema.pbxt_statistics or the pbxt.statistics table. If information_schema is used, then the statistics are displayed even when no PBXT table exists. Recovery activity is also displayed, unless pbxt_support_xa=1, in which case MySQL will wait for PBXT recovery to complete before allowing connections.
RN273: Fixed bug #430633: XA_RBDEADLOCK is not returned on XA END after the transacting ended with a deadlock.
RN272: Fixed bug #430596: Backup/restore does not work well even on a basic PBXT table with auto-increment.
------- 1.0.09c RC3 - 2009-09-16
RN271: Windows build update: now you can simply put the pbxt directory under <mysql-root>/storage and build the PBXT engine as a part of the source tree. The engine will be linked statically. Be sure to specify the WITH_PBXT_STORAGE_ENGINE option when running win\configure.js
RN270: Correctly disabled PBMS so that this version now compiles under Windows. If PBMS_ENABLED is defined, PBXT will not compile under Windows becaause of a getpid() call in pbms.h.
------- 1.0.09 RC3 - 2009-09-09
RN269: Implemented online backup. A native online backup driver now performs BACKUP and RESTORE DATABASE operations for PBXT. NOTE: This feature is only supported by MySQL 6.0.9 or later.
RN268: Implemented XA support. PBXT now supports all XA related MySQL statements. The variable pbxt_support_xa determines if XA support is enabled. Note: due to MySQL bug #47134, enabling XA support could lead to a crash.
------- 1.0.08d RC2 - 2009-09-02
RN267: Fixed a bug that caused MySQL to crash on shutdown, after an incorrect command line parameter was given. The crash occurred because the background recovery task was not cleaned up before the PBXT engine was de-initialized.
......
......@@ -34,7 +34,7 @@
#include "trace_xt.h"
#ifdef DEBUG
//#define RECORD_MM
#define RECORD_MM
#endif
#ifdef DEBUG
......
......@@ -5196,7 +5196,6 @@ static xtBool tab_exec_repair_pending(XTDatabaseHPtr db, int what, char *table_n
static void tab_make_table_name(XTTableHPtr tab, char *table_name, size_t size)
{
char name_buf[XT_IDENTIFIER_NAME_SIZE*3+3];
char *nptr;
nptr = xt_last_name_of_path(tab->tab_name->ps_path);
......@@ -5223,11 +5222,30 @@ static void tab_make_table_name(XTTableHPtr tab, char *table_name, size_t size)
xt_strcat(size, table_name, nptr);
}
else {
char name_buf[XT_TABLE_NAME_SIZE*3+3];
char *part_ptr;
size_t len;
xt_2nd_last_name_of_path(sizeof(name_buf), name_buf, tab->tab_name->ps_path);
myxt_static_convert_file_name(name_buf, table_name, size);
xt_strcat(size, table_name, ".");
myxt_static_convert_file_name(nptr, name_buf, sizeof(name_buf));
xt_strcat(size, table_name, name_buf);
/* Handle partition extensions to table names: */
if ((part_ptr = strstr(nptr, "#P#")))
xt_strncpy(sizeof(name_buf), name_buf, nptr, part_ptr - nptr);
else
xt_strcpy(sizeof(name_buf), name_buf, nptr);
len = strlen(table_name);
myxt_static_convert_file_name(name_buf, table_name + len, size - len);
if (part_ptr) {
/* Add the partition extension (which is relevant to the engine). */
xt_strcat(size, table_name, " (");
len = strlen(table_name);
myxt_static_convert_file_name(part_ptr+3, table_name + len, size - len);
xt_strcat(size, table_name, ")");
}
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment