Browse Source
Changed some MySQL names in messages to MariaDB
Changed some MySQL names in messages to MariaDB
- Remove obsolete documentation files - Removed old obsolete information from some documentation filespull/1005/head
21 changed files with 73 additions and 1344 deletions
-
24Docs/INSTALL-BINARY
-
137Docs/glibc-2.2.5.patch
-
19Docs/linuxthreads.txt
-
1100Docs/sp-imp-spec.txt
-
38KNOWN_BUGS.txt
-
12README.md
-
10client/mysql.cc
-
6client/mysql_upgrade.c
-
2client/mysqladmin.cc
-
14client/mysqlbinlog.cc
-
12client/mysqldump.c
-
5client/mysqlimport.c
-
4client/mysqlshow.c
-
2client/mysqlslap.c
-
6client/mysqltest.cc
-
6extra/perror.c
-
2extra/resolve_stack_dump.c
-
2mysql-test/main/mysql_upgrade.result
-
4mysql-test/main/mysql_upgrade_view.result
-
4mysql-test/main/perror-win.result
-
8mysql-test/main/perror.result
@ -1,137 +0,0 @@ |
|||
diff -r -c --exclude='*.info*' glibc-2.2.5.org/linuxthreads/internals.h glibc-2.2.5/linuxthreads/internals.h
|
|||
*** glibc-2.2.5.org/linuxthreads/internals.h Thu Nov 29 08:44:16 2001 |
|||
--- glibc-2.2.5/linuxthreads/internals.h Tue May 21 10:51:53 2002
|
|||
*************** |
|||
*** 343,349 **** |
|||
THREAD_SELF implementation is used, this must be a power of two and |
|||
a multiple of PAGE_SIZE. */ |
|||
#ifndef STACK_SIZE |
|||
! #define STACK_SIZE (2 * 1024 * 1024)
|
|||
#endif |
|||
|
|||
/* The initial size of the thread stack. Must be a multiple of PAGE_SIZE. */ |
|||
--- 343,349 ----
|
|||
THREAD_SELF implementation is used, this must be a power of two and |
|||
a multiple of PAGE_SIZE. */ |
|||
#ifndef STACK_SIZE |
|||
! #define STACK_SIZE (128 * 1024)
|
|||
#endif |
|||
|
|||
/* The initial size of the thread stack. Must be a multiple of PAGE_SIZE. */ |
|||
diff -r -c --exclude='*.info*' glibc-2.2.5.org/linuxthreads/sysdeps/unix/sysv/linux/bits/local_lim.h glibc-2.2.5/linuxthreads/sysdeps/unix/sysv/linux/bits/local_lim.h
|
|||
*** glibc-2.2.5.org/linuxthreads/sysdeps/unix/sysv/linux/bits/local_lim.h Thu Jun 8 21:49:49 2000 |
|||
--- glibc-2.2.5/linuxthreads/sysdeps/unix/sysv/linux/bits/local_lim.h Tue May 21 10:52:58 2002
|
|||
*************** |
|||
*** 64,70 **** |
|||
/* The number of threads per process. */ |
|||
#define _POSIX_THREAD_THREADS_MAX 64 |
|||
/* This is the value this implementation supports. */ |
|||
! #define PTHREAD_THREADS_MAX 1024
|
|||
|
|||
/* Maximum amount by which a process can descrease its asynchronous I/O |
|||
priority level. */ |
|||
--- 64,70 ----
|
|||
/* The number of threads per process. */ |
|||
#define _POSIX_THREAD_THREADS_MAX 64 |
|||
/* This is the value this implementation supports. */ |
|||
! #define PTHREAD_THREADS_MAX 4096
|
|||
|
|||
/* Maximum amount by which a process can descrease its asynchronous I/O |
|||
priority level. */ |
|||
diff -r -c --exclude='*.info*' glibc-2.2.5.org/nss/nsswitch.c glibc-2.2.5/nss/nsswitch.c
|
|||
*** glibc-2.2.5.org/nss/nsswitch.c Tue Jul 17 10:21:36 2001 |
|||
--- glibc-2.2.5/nss/nsswitch.c Tue May 21 10:59:55 2002
|
|||
*************** |
|||
*** 496,501 **** |
|||
--- 496,502 ----
|
|||
{ |
|||
service_user *new_service; |
|||
const char *name; |
|||
+ int name_alloc_len;
|
|||
|
|||
while (isspace (line[0])) |
|||
++line; |
|||
*************** |
|||
*** 510,522 **** |
|||
if (name == line) |
|||
return result; |
|||
|
|||
|
|||
new_service = (service_user *) malloc (sizeof (service_user) |
|||
! + (line - name + 1));
|
|||
if (new_service == NULL) |
|||
return result; |
|||
|
|||
! *((char *) __mempcpy (new_service->name, name, line - name)) = '\0';
|
|||
|
|||
/* Set default actions. */ |
|||
new_service->actions[2 + NSS_STATUS_TRYAGAIN] = NSS_ACTION_CONTINUE; |
|||
--- 511,534 ----
|
|||
if (name == line) |
|||
return result; |
|||
|
|||
+ name_alloc_len = line - name + 1;
|
|||
+
|
|||
+ #ifdef DO_STATIC_NSS
|
|||
+ if (!((name_alloc_len == 6 && strncmp(name,"files",5) == 0) ||
|
|||
+ (name_alloc_len == 4 && strncmp(name,"dns",3) == 0)))
|
|||
+ {
|
|||
+ name = (char*) "files";
|
|||
+ name_alloc_len = 6;
|
|||
+ }
|
|||
+ #endif
|
|||
|
|||
new_service = (service_user *) malloc (sizeof (service_user) |
|||
! + name_alloc_len);
|
|||
if (new_service == NULL) |
|||
return result; |
|||
|
|||
! *((char *) __mempcpy (new_service->name, name, name_alloc_len-1)) = '\0';
|
|||
!
|
|||
|
|||
/* Set default actions. */ |
|||
new_service->actions[2 + NSS_STATUS_TRYAGAIN] = NSS_ACTION_CONTINUE; |
|||
diff -r -c --exclude='*.info*' glibc-2.2.5.org/time/Makefile glibc-2.2.5/time/Makefile
|
|||
*** glibc-2.2.5.org/time/Makefile Fri Aug 10 01:59:41 2001 |
|||
--- glibc-2.2.5/time/Makefile Tue May 21 11:01:11 2002
|
|||
*************** |
|||
*** 37,44 **** |
|||
|
|||
include ../Rules |
|||
|
|||
! tz-cflags = -DTZDIR='"$(zonedir)"' \
|
|||
! -DTZDEFAULT='"$(localtime-file)"' \
|
|||
-DTZDEFRULES='"$(posixrules-file)"' |
|||
|
|||
CFLAGS-tzfile.c = $(tz-cflags) |
|||
--- 37,44 ----
|
|||
|
|||
include ../Rules |
|||
|
|||
! tz-cflags = -DTZDIR='"/usr/share/zoneinfo/"' \
|
|||
! -DTZDEFAULT='"/etc/localtime"' \
|
|||
-DTZDEFRULES='"$(posixrules-file)"' |
|||
|
|||
CFLAGS-tzfile.c = $(tz-cflags) |
|||
diff -r -c --exclude='*.info*' glibc-2.2.5.org/timezone/Makefile glibc-2.2.5/timezone/Makefile
|
|||
*** glibc-2.2.5.org/timezone/Makefile Thu Aug 30 00:45:25 2001 |
|||
--- glibc-2.2.5/timezone/Makefile Tue May 21 11:01:57 2002
|
|||
*************** |
|||
*** 159,166 **** |
|||
|
|||
$(objpfx)zic: $(objpfx)scheck.o $(objpfx)ialloc.o |
|||
|
|||
! tz-cflags = -DTZDIR='"$(zonedir)"' \
|
|||
! -DTZDEFAULT='"$(localtime-file)"' \
|
|||
-DTZDEFRULES='"$(posixrules-file)"' \ |
|||
-DTM_GMTOFF=tm_gmtoff -DTM_ZONE=tm_zone |
|||
|
|||
--- 159,166 ----
|
|||
|
|||
$(objpfx)zic: $(objpfx)scheck.o $(objpfx)ialloc.o |
|||
|
|||
! tz-cflags = -DTZDIR='"/usr/share/zoneinfo/"' \
|
|||
! -DTZDEFAULT='"/etc/localtime"' \
|
|||
-DTZDEFRULES='"$(posixrules-file)"' \ |
|||
-DTM_GMTOFF=tm_gmtoff -DTM_ZONE=tm_zone |
|||
|
@ -1,19 +0,0 @@ |
|||
[Note this information is obsolete] |
|||
|
|||
Notes on compiling glibc for the standard MySQL binary: |
|||
|
|||
- make sure you have gcc 2.95 and gmake 3.79 or newer |
|||
- wget ftp://ftp.gnu.org/pub/gnu/glibc/glibc-2.2.5.tar.gz |
|||
- wget ftp://ftp.gnu.org/pub/gnu/glibc/glibc-linuxthreads-2.2.5.tar.gz |
|||
- tar zxvf glibc-2.2.5.tar.gz ; cd glibc-2.2.5 ; |
|||
tar zxvf ../glibc-linuxthreads-2.2.5.tar.gz |
|||
- patch -p1 < ~/bk/mysql/Docs/glibc-2.2.5.patch |
|||
- ./configure --prefix=/usr/local/mysql-glibc --enable-static-nss \ |
|||
--disable-shared --enable-add-ons=linuxthreads --target=i386 \ |
|||
--host=i386-pc-linux-gnu |
|||
- make |
|||
- possible problems - if compiler is not properly installed, one can get |
|||
"cpp: too many input" files error - easiest way to solve - SUSE RPM for gcc |
|||
2.95 |
|||
- surun make install |
|||
- To build the binaries, run Build-tools/Do-linux-build |
1100
Docs/sp-imp-spec.txt
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -1,35 +1,15 @@ |
|||
This file should contain all known fatal bugs in Mariadb and the Aria |
|||
storage engine for the last source or binary release. Minor bugs, |
|||
extensions and feature requests, and bugs found since this release can |
|||
be found in the MariaDB bugs database at: http://mariadb.org/jira and |
|||
in the MySQL bugs databases at: http://bugs.mysql.com/ (category |
|||
"Maria storage engine"). |
|||
This file should contain all known fatal bugs in MariaDB for the last |
|||
source or binary release. Minor bugs, extensions and feature requests, |
|||
and bugs found since this release can be found in the MariaDB bugs |
|||
database at: https://jira.mariadb.org |
|||
|
|||
There should not normally be any bugs which affect normal operations |
|||
in any MariaDB release. Still, there are always exceptions and edge |
|||
cases and that is what this file is for. |
|||
|
|||
If you have found a bug that is not listed here, please add it to |
|||
http://mariadb.org/jira so we can either fix it for next release or in |
|||
the worst case add it here for others to know! |
|||
If you have find bug please add it to https://jira.mariadb.org so |
|||
that we are can try to fix it for the next release. You can also add |
|||
feature request to the JIRA. |
|||
|
|||
|
|||
IMPORTANT: |
|||
|
|||
If you have been using the Maria (now Aria) storage engine with the |
|||
MySQL-5.1-Maria-alpha build and are upgrading to a newer MariaDB you |
|||
MUST run [m]aria_chk --recover on all your Aria tables. This is because |
|||
we made an incompatible change with how the transaction id is stored |
|||
and old transaction id's must be reset! |
|||
|
|||
cd mysql-data-directory |
|||
aria_chk --recover */*.MAI |
|||
|
|||
Going forward, we will do our best to not introduce any incompatible |
|||
changes in the data format for Aria tables. If this would be ever be |
|||
needed, we will, if possible, support both the old and the new version |
|||
to make upgrades as easy as possible. |
|||
|
|||
Note that for the MariaDB 5.1 release the Aria storage engine is |
|||
classified as 'beta'; It should work, but use it with caution. Please |
|||
report all bugs to http://mariadb.org/jira so we can fix them! |
|||
The latest documentation for the MariaDB server can be found at: |
|||
https://mariadb.com/kb |
@ -1,7 +1,7 @@ |
|||
MySQL error code 150: Foreign key constraint is incorrectly formed |
|||
MariaDB error code 150: Foreign key constraint is incorrectly formed |
|||
Win32 error code 150: System trace information was not specified in your CONFIG.SYS file, or tracing is disallowed. |
|||
OS error code 23: Too many open files in system |
|||
Win32 error code 23: Data error (cyclic redundancy check). |
|||
MySQL error code 1062 (ER_DUP_ENTRY): Duplicate entry '%-.192s' for key %d |
|||
MariaDB error code 1062 (ER_DUP_ENTRY): Duplicate entry '%-.192s' for key %d |
|||
Win32 error code 1062: The service has not been started. |
|||
Illegal error code: 30000 |
@ -1,6 +1,6 @@ |
|||
Illegal error code: 10000 |
|||
MySQL error code 1062 (ER_DUP_ENTRY): Duplicate entry '%-.192s' for key %d |
|||
MySQL error code 1408 (ER_STARTUP): %s: ready for connections. |
|||
MariaDB error code 1062 (ER_DUP_ENTRY): Duplicate entry '%-.192s' for key %d |
|||
MariaDB error code 1408 (ER_STARTUP): %s: ready for connections. |
|||
Version: '%s' socket: '%s' port: %d %s |
|||
MySQL error code 1459 (ER_TABLE_NEEDS_UPGRADE): Upgrade required. Please do "REPAIR %s %`s" or dump/reload to fix it! |
|||
MySQL error code 1461 (ER_MAX_PREPARED_STMT_COUNT_REACHED): Can't create more than max_prepared_stmt_count statements (current value: %u) |
|||
MariaDB error code 1459 (ER_TABLE_NEEDS_UPGRADE): Upgrade required. Please do "REPAIR %s %`s" or dump/reload to fix it! |
|||
MariaDB error code 1461 (ER_MAX_PREPARED_STMT_COUNT_REACHED): Can't create more than max_prepared_stmt_count statements (current value: %u) |
Write
Preview
Loading…
Cancel
Save
Reference in new issue