[Pkg-mysql-commits] [mariadb-5.5] 02/08: Refreshed patches

Otto Kekäläinen ottok-guest at moszumanska.debian.org
Sun Dec 28 21:49:31 UTC 2014


This is an automated email from the git hooks/post-receive script.

ottok-guest pushed a commit to branch master
in repository mariadb-5.5.

commit 36bc99bde27370ee82468b7b62688a73088d9465
Author: Otto Kekäläinen <otto at seravo.fi>
Date:   Sat Dec 27 15:28:16 2014 +0200

    Refreshed patches
---
 debian/patches/20_kfreebsd_tests.diff              |  20 -
 debian/patches/21_kfreebsd-peercred.diff           | 112 -----
 debian/patches/22_hppa_invalid_operands.diff       |  16 -
 debian/patches/50_mysql-test__db_test.diff         |   2 +-
 debian/patches/90_spelling.diff                    | 504 ---------------------
 .../99_remove_rename_mariadb-server_files_in.diff  |   2 +-
 debian/patches/series                              |   4 -
 7 files changed, 2 insertions(+), 658 deletions(-)

diff --git a/debian/patches/20_kfreebsd_tests.diff b/debian/patches/20_kfreebsd_tests.diff
deleted file mode 100644
index af0ee15..0000000
--- a/debian/patches/20_kfreebsd_tests.diff
+++ /dev/null
@@ -1,20 +0,0 @@
-Author: Otto Kekäläinen <otto at seravo.fi>
-Debian-Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=540153
-Subject: tests not getting started on kFreeBSD
- As per #670722 I found that the test socket created to test
- file name truncation was barfing even for the shortened form.
- This patch was adapted from the similar one in MySQL 5.6 package.
-Forwarded: no
-Last-Update: 2014-08-07
---- a/mysql-test/lib/My/Platform.pm
-+++ b/mysql-test/lib/My/Platform.pm
-@@ -111,6 +111,9 @@ sub check_socket_path_length {
-   # See Bug #45771
-   return 0 if ($^O eq 'aix');
- 
-+  # See Debian bug #670722 - failing on kFreeBSD even after setting short path
-+  return 0 if length $path < 40;
-+ 
-   require IO::Socket::UNIX;
- 
-   my $truncated= undef;
diff --git a/debian/patches/21_kfreebsd-peercred.diff b/debian/patches/21_kfreebsd-peercred.diff
deleted file mode 100644
index 1cc04ec..0000000
--- a/debian/patches/21_kfreebsd-peercred.diff
+++ /dev/null
@@ -1,112 +0,0 @@
-Author: Sergei Golubchik <serg at mariadb.org>
-Descriptiong: Experimental patch from https://mariadb.atlassian.net/browse/MDEV-6577
-
-=== modified file 'plugin/auth_socket/CMakeLists.txt'
---- a/plugin/auth_socket/CMakeLists.txt	2013-03-08 18:09:15 +0000
-+++ b/plugin/auth_socket/CMakeLists.txt	2014-08-13 14:44:30 +0000
-@@ -22,18 +22,48 @@ int main() {
-   getsockopt(0, SOL_SOCKET, SO_PEERCRED, &cred, 0);
- }" HAVE_PEERCRED)
-  
--IF (NOT HAVE_PEERCRED)
--  # Hi, OpenBSD!
--  CHECK_CXX_SOURCE_COMPILES(
--  "#include <sys/types.h>
--  #include <sys/socket.h>
--  int main() {
--    struct sockpeercred cred;
--    getsockopt(0, SOL_SOCKET, SO_PEERCRED, &cred, 0);
--    }" HAVE_SOCKPEERCRED)
--  ADD_DEFINITIONS(-Ducred=sockpeercred)
-+IF (HAVE_PEERCRED)
-+  ADD_DEFINITIONS(-DHAVE_PEERCRED)
-+  SET(ok 1)
-+ELSE()
-+
-+# Hi, OpenBSD!
-+CHECK_CXX_SOURCE_COMPILES(
-+"#include <sys/types.h>
-+#include <sys/socket.h>
-+int main() {
-+  struct sockpeercred cred;
-+  getsockopt(0, SOL_SOCKET, SO_PEERCRED, &cred, 0);
-+  }" HAVE_SOCKPEERCRED)
-+
-+IF (HAVE_SOCKPEERCRED)
-+  ADD_DEFINITIONS(-DHAVE_SOCKPEERCRED)
-+  SET(ok 1)
-+ELSE()
-+
-+# FreeBSD, is that you?
-+CHECK_CXX_SOURCE_COMPILES(
-+"#include <sys/types.h>
-+#include <sys/socket.h>
-+#include <sys/un.h>
-+#include <sys/ucred.h>
-+int main() {
-+  struct xucred cred;
-+  getsockopt(0, 0, LOCAL_PEERCRED, &cred, 0);
-+  }" HAVE_XUCRED)
-+
-+IF (HAVE_XUCRED)
-+  ADD_DEFINITIONS(-DHAVE_XUCRED)
-+  SET(ok 1)
-+ELSE()
-+
-+# What else? C'mon, show your creativity, be different!
-+
-+ENDIF()
-+ENDIF()
- ENDIF()
- 
--IF(HAVE_PEERCRED OR HAVE_SOCKPEERCRED)
-+IF(ok)
-   MYSQL_ADD_PLUGIN(auth_socket auth_socket.c MODULE_ONLY)
- ENDIF()
-+
-
-=== modified file 'plugin/auth_socket/auth_socket.c'
---- a/plugin/auth_socket/auth_socket.c	2012-02-15 17:08:08 +0000
-+++ b/plugin/auth_socket/auth_socket.c	2014-08-13 14:46:42 +0000
-@@ -27,9 +27,29 @@
- #define _GNU_SOURCE 1 /* for struct ucred */
- 
- #include <mysql/plugin_auth.h>
--#include <sys/socket.h>
--#include <pwd.h>
- #include <string.h>
-+#include <pwd.h>
-+#include <sys/socket.h>
-+#include <sys/types.h>
-+
-+#ifdef HAVE_PEERCRED
-+#define level SOL_SOCKET
-+
-+#elif defined HAVE_SOCKPEERCRED
-+#define level SOL_SOCKET
-+#define ucred socketpeercred
-+
-+#elif defined HAVE_XUCRED
-+#include <sys/un.h>
-+#include <sys/ucred.h>
-+#define level 0
-+#define SO_PEERCRED LOCAL_PEERCRED
-+#define uid cr_uid
-+#define ucred xucred
-+
-+#else
-+#error impossible
-+#endif
- 
- /**
-   perform the unix socket based authentication
-@@ -63,7 +83,7 @@ static int socket_auth(MYSQL_PLUGIN_VIO
-     return CR_ERROR;
- 
-   /* get the UID of the client process */
--  if (getsockopt(vio_info.socket, SOL_SOCKET, SO_PEERCRED, &cred, &cred_len))
-+  if (getsockopt(vio_info.socket, level, SO_PEERCRED, &cred, &cred_len))
-     return CR_ERROR;
- 
-   if (cred_len != sizeof(cred))
-
diff --git a/debian/patches/22_hppa_invalid_operands.diff b/debian/patches/22_hppa_invalid_operands.diff
deleted file mode 100644
index 3225d22..0000000
--- a/debian/patches/22_hppa_invalid_operands.diff
+++ /dev/null
@@ -1,16 +0,0 @@
-Author: Helge Deller <deller at gmx.de>
-Description: Fix build error in HPPA, see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=751805
-
-diff --git a/storage/xtradb/os/os0stacktrace.c b/storage/xtradb/os/os0stacktrace.c
-index f7fb121..18b90ea 100644
---- a/storage/xtradb/os/os0stacktrace.c
-+++ b/storage/xtradb/os/os0stacktrace.c
-@@ -85,7 +85,7 @@ os_stacktrace_print(
- 	caller_address = (void*) uc->uc_mcontext.gregs[REG_RIP] ;
- #elif defined(__hppa__)
- 	ucontext_t* uc = (ucontext_t*) ucontext;
--	caller_address = (void*) uc->uc_mcontext.sc_iaoq[0] & ~0x3UL ;
-+	caller_address = (void*) (uc->uc_mcontext.sc_iaoq[0] & ~0x3UL);
- #elif (defined (__ppc__)) || (defined (__powerpc__))
- 	ucontext_t* uc = (ucontext_t*) ucontext;
- 	caller_address = (void*) uc->uc_mcontext.regs->nip ;
diff --git a/debian/patches/50_mysql-test__db_test.diff b/debian/patches/50_mysql-test__db_test.diff
index 0d05e0e..c171747 100644
--- a/debian/patches/50_mysql-test__db_test.diff
+++ b/debian/patches/50_mysql-test__db_test.diff
@@ -6,7 +6,7 @@
 ## DP: suite depends on them.
 --- old/mysql-test/mysql-test-run.pl	2009-06-16 14:24:09.000000000 +0200
 +++ new/mysql-test/mysql-test-run.pl	2009-07-04 00:03:34.000000000 +0200
-@@ -3567,6 +3567,11 @@ sub mysql_install_db {
+@@ -3578,6 +3578,11 @@ sub mysql_install_db {
      mtr_appendfile_to_file("$sql_dir/mysql_system_tables_data.sql",
  			   $bootstrap_sql_file);
  
diff --git a/debian/patches/90_spelling.diff b/debian/patches/90_spelling.diff
deleted file mode 100644
index 7d6b753..0000000
--- a/debian/patches/90_spelling.diff
+++ /dev/null
@@ -1,504 +0,0 @@
-Author: Otto Kekäläinen <otto at seravo.fi>
-Description: Fix spelling of preceding, specified, received, additionally
-
---- a/include/mysql_com.h
-+++ b/include/mysql_com.h
-@@ -110,7 +110,7 @@ enum enum_server_command
- #define MYSQL_TYPE_VIRTUAL 245
- /*
-   Length of random string sent by server on handshake; this is also length of
--  obfuscated password, recieved from client
-+  obfuscated password, received from client
- */
- #define SCRAMBLE_LENGTH 20
- #define SCRAMBLE_LENGTH_323 8
---- a/libmysql/errmsg.c
-+++ b/libmysql/errmsg.c
-@@ -81,7 +81,7 @@ const char *client_errors[]=
-   "Attempt to read a row while there is no result set associated with the statement",
-   "This feature is not implemented yet",
-   "Lost connection to MySQL server at '%s', system error: %d",
--  "Statement closed indirectly because of a preceeding %s() call",
-+  "Statement closed indirectly because of a preceding %s() call",
-   "The number of columns in the result set differs from the number of bound buffers. You must reset the statement, rebind the result set columns, and execute the statement again",
-   "This handle is already connected. Use a separate handle for each connection.",
-   "Authentication plugin '%s' cannot be loaded: %s",
---- a/man/mysql-test-run.pl.1
-+++ b/man/mysql-test-run.pl.1
-@@ -332,7 +332,7 @@ is defined so that
- can invoke itself with
- exec $MYSQL_TEST\&.
- .PP
--Other tests may refer to the last three variables listed in the preceeding table, to locate files to read or write\&. For example, tests that need to create files will typically put them in
-+Other tests may refer to the last three variables listed in the preceding table, to locate files to read or write\&. For example, tests that need to create files will typically put them in
- $MYSQL_TMP_DIR/\fIfile_name\fR\&.
- .PP
- If you are running
---- a/man/mysqldump.1
-+++ b/man/mysqldump.1
-@@ -1261,7 +1261,7 @@ to point the slave to the correct master server host\&. Add any such parameters
- .\" max-allowed-packet option: mysqldump
- \fB\-\-max\-allowed\-packet=\fR\fB\fIlength\fR\fR
- .sp
--Sets the maximum packet length to send to or recieve from server\&.
-+Sets the maximum packet length to send to or receive from server\&.
- .RE
- .sp
- .RS 4
---- a/mysql-test/extra/rpl_tests/rpl_ddl.test
-+++ b/mysql-test/extra/rpl_tests/rpl_ddl.test
-@@ -98,8 +98,8 @@
- #       --> less switching of AUTOCOMMIT mode on master side.
- #
- #    4. Never use a test object, which was direct or indirect affected by a
--#       preceeding test sequence again.
--#       If one preceeding test sequence hits a (sometimes not visible,
-+#       preceding test sequence again.
-+#       If one preceding test sequence hits a (sometimes not visible,
- #       because the sql error code of the statement might be 0) bug
- #       and these rules are ignored, a following test sequence might earn ugly
- #       effects like failing 'sync_slave_with_master', crashes of the slave or
---- a/mysql-test/extra/rpl_tests/rpl_row_basic.test
-+++ b/mysql-test/extra/rpl_tests/rpl_row_basic.test
-@@ -221,7 +221,7 @@ INSERT INTO t7 VALUES (1,3), (2,6), (3,9);
- SELECT * FROM t7 ORDER BY C1;
- 
- # since bug#31552/31609 idempotency is not default any longer. In order
--# the preceeding test INSERT INTO t7 to pass the mode is switched
-+# the preceding test INSERT INTO t7 to pass the mode is switched
- # temprorarily
- set @@global.slave_exec_mode= 'IDEMPOTENT';
- 
-@@ -260,7 +260,7 @@ INSERT INTO t8 VALUES (1,2,3), (2,4,6), (3,6,9);
- SELECT * FROM t8 ORDER BY a;
- 
- # since bug#31552/31609 idempotency is not default any longer. In order
--# the preceeding test INSERT INTO t8 to pass the mode is switched
-+# the preceding test INSERT INTO t8 to pass the mode is switched
- # temprorarily
- set @@global.slave_exec_mode= 'IDEMPOTENT';
- 
---- a/mysql-test/include/wait_until_count_sessions.inc
-+++ b/mysql-test/include/wait_until_count_sessions.inc
-@@ -10,7 +10,7 @@
- #    1. We wait for $current_sessions <= $count_sessions because in the use case
- #       with count_sessions.inc before and wait_until_count_sessions.inc after
- #       the core of the test it could happen that the disconnects of sessions
--#       belonging to the preceeding test are not finished.
-+#       belonging to the preceding test are not finished.
- #       sessions at test begin($count_sessions) =  m + n
- #       sessions of the previous test which will be soon disconnected = n (n >= 0)
- #       sessions at test end ($current sessions, assuming the test disconnects
---- a/mysql-test/mysql-test-run.pl
-+++ b/mysql-test/mysql-test-run.pl
-@@ -6489,7 +6489,7 @@ Misc options
-   start-dirty           Only start the servers (without initialization) for
-                         the first specified test case
-   user-args             In combination with start* and no test name, drops
--                        arguments to mysqld except those speficied with
-+                        arguments to mysqld except those specified with
-                         --mysqld (if any)
-   wait-all              If --start or --start-dirty option is used, wait for all
-                         servers to exit before finishing the process
---- a/mysql-test/r/mysqld--help.result
-+++ b/mysql-test/r/mysqld--help.result
-@@ -613,7 +613,7 @@ The following options may be given as the first argument:
-  --relay-log-space-limit=# 
-  Maximum space to use for all relay logs
-  --replicate-annotate-row-events 
-- Tells the slave to write annotate rows events recieved
-+ Tells the slave to write annotate rows events received
-  from the master to its own binary log. Ignored if
-  log_slave_updates is not set
-  --replicate-do-db=name 
---- a/mysql-test/r/ps.result
-+++ b/mysql-test/r/ps.result
-@@ -613,8 +613,8 @@ insert into t2 values ("1", "1", "sup", "0"), ("2", "1", "sup", "1"),
- ("4", "1", "sup", "0");
- create table t3 (
- id int(11) not null default '0',
--preceeding_id int(11) not null default '0',
--primary key  (id,preceeding_id)
-+preceding_id int(11) not null default '0',
-+primary key  (id,preceding_id)
- );
- create table t4 (
- user_id varchar(50) not null,
-@@ -625,7 +625,7 @@ insert into t4 values("nicke", "imp");
- prepare stmt from
- 'select distinct t1.partner_id
- from t1 left join t3 on t1.id = t3.id
--     left join t1 pp on pp.id = t3.preceeding_id
-+     left join t1 pp on pp.id = t3.preceding_id
- where
-   exists (
-     select *
---- a/mysql-test/r/subselect_sj.result
-+++ b/mysql-test/r/subselect_sj.result
-@@ -1007,8 +1007,8 @@ insert into t2 values ("1", "1", "sup", "0"), ("2", "1", "sup", "1"),
- ("4", "1", "sup", "0");
- create table t3 (
- id int(11) not null default '0',
--preceeding_id int(11) not null default '0',
--primary key  (id,preceeding_id)
-+preceding_id int(11) not null default '0',
-+primary key  (id,preceding_id)
- );
- create table t4 (
- user_id varchar(50) not null,
---- a/mysql-test/r/subselect_sj_jcl6.result
-+++ b/mysql-test/r/subselect_sj_jcl6.result
-@@ -1020,8 +1020,8 @@ insert into t2 values ("1", "1", "sup", "0"), ("2", "1", "sup", "1"),
- ("4", "1", "sup", "0");
- create table t3 (
- id int(11) not null default '0',
--preceeding_id int(11) not null default '0',
--primary key  (id,preceeding_id)
-+preceding_id int(11) not null default '0',
-+primary key  (id,preceding_id)
- );
- create table t4 (
- user_id varchar(50) not null,
---- a/mysql-test/suite/funcs_1/views/func_view.inc
-+++ b/mysql-test/suite/funcs_1/views/func_view.inc
-@@ -282,7 +282,7 @@ INSERT INTO t1_values SET
- #               other interesting value
- #     numbers   -> 0
- #     strings, blobs, binaries -> not full length of used data type, "exotic"
--#                                 characters and preceeding and trailing spaces
-+#                                 characters and preceding and trailing spaces
- #     FIXME enum, set ??
- INSERT INTO t1_values SET
-        my_char_30 = ' ---äÖüß@µ*$-- ',
---- a/mysql-test/suite/funcs_1/views/views_master.inc
-+++ b/mysql-test/suite/funcs_1/views/views_master.inc
-@@ -545,7 +545,7 @@ let $message= Testcase 3.3.1.7 ;
- #                   view names are accepted, at creation time, alteration time,
- #                   and drop time.
- ###############################################################################
--# Note(mleich): non-qualified view name means a view name without preceeding
-+# Note(mleich): non-qualified view name means a view name without preceding
- #               database name
- --disable_warnings
- DROP VIEW  IF EXISTS v1 ;
---- a/mysql-test/suite/rpl/t/rpl_ddl.test
-+++ b/mysql-test/suite/rpl/t/rpl_ddl.test
-@@ -13,10 +13,10 @@
- #         sequences start.
- #
- #      2. Never use a test object, which was direct or indirect affected by a
--#         preceeding test sequence again.
-+#         preceding test sequence again.
- #         Except table d1.t1 where ONLY DML is allowed.
- #
--#         If one preceeding test sequence hits a (sometimes not good visible,
-+#         If one preceding test sequence hits a (sometimes not good visible,
- #         because the sql error code of the statement might be 0) bug
- #         and these rules are ignored, a following test sequence might earn ugly
- #         effects like failing 'sync_slave_with_master', crashes of the slave or
---- a/mysql-test/suite/rpl/t/rpl_row_basic_11bugs.test
-+++ b/mysql-test/suite/rpl/t/rpl_row_basic_11bugs.test
-@@ -244,7 +244,7 @@ sync_slave_with_master;
- UPDATE t1 SET a = 5, b = 'slave' WHERE a = 1;
- SELECT * FROM t1 ORDER BY a;
- # since bug#31552/31609 idempotency is not default any longer. In
--# order for the preceeding test UPDATE t1 to pass, the mode is switched
-+# order for the preceding test UPDATE t1 to pass, the mode is switched
- # temprorarily
- set @@global.slave_exec_mode= 'IDEMPOTENT';
- --echo **** On Master ****
---- a/mysql-test/t/ps.test
-+++ b/mysql-test/t/ps.test
-@@ -677,8 +677,8 @@ insert into t2 values ("1", "1", "sup", "0"), ("2", "1", "sup", "1"),
- 
- create table t3 (
-   id int(11) not null default '0',
--  preceeding_id int(11) not null default '0',
--  primary key  (id,preceeding_id)
-+  preceding_id int(11) not null default '0',
-+  primary key  (id,preceding_id)
- );
- 
- create table t4 (
-@@ -692,7 +692,7 @@ insert into t4 values("nicke", "imp");
- prepare stmt from
- 'select distinct t1.partner_id
- from t1 left join t3 on t1.id = t3.id
--     left join t1 pp on pp.id = t3.preceeding_id
-+     left join t1 pp on pp.id = t3.preceding_id
- where
-   exists (
-     select *
---- a/mysql-test/t/subselect_sj.test
-+++ b/mysql-test/t/subselect_sj.test
-@@ -897,8 +897,8 @@ insert into t2 values ("1", "1", "sup", "0"), ("2", "1", "sup", "1"),
-                       ("4", "1", "sup", "0");
- create table t3 (
-   id int(11) not null default '0',
--  preceeding_id int(11) not null default '0',
--  primary key  (id,preceeding_id)
-+  preceding_id int(11) not null default '0',
-+  primary key  (id,preceding_id)
- );
- 
- create table t4 (
---- a/sql/handler.h
-+++ b/sql/handler.h
-@@ -1270,7 +1270,7 @@ typedef struct st_ha_create_information
-     For ALTER TABLE defaults to ROW_TYPE_NOT_USED (means "keep the current").
- 
-     Can be changed either explicitly by the parser.
--    If nothing speficied inherits the value of the original table (if present).
-+    If nothing specified inherits the value of the original table (if present).
-   */
-   enum row_type row_type;
-   uint null_bits;                       /* NULL bits at start of record */
---- a/sql/log_event.cc
-+++ b/sql/log_event.cc
-@@ -3649,7 +3649,7 @@ int Query_log_event::do_apply_event(Relay_log_info const *rli,
-     if ((error= rows_event_stmt_cleanup(const_cast<Relay_log_info*>(rli), thd)))
-     {
-       const_cast<Relay_log_info*>(rli)->report(ERROR_LEVEL, error,
--                  "Error in cleaning up after an event preceeding the commit; "
-+                  "Error in cleaning up after an event preceding the commit; "
-                   "the group log file/position: %s %s",
-                   const_cast<Relay_log_info*>(rli)->group_master_log_name,
-                   llstr(const_cast<Relay_log_info*>(rli)->group_master_log_pos,
---- a/sql/log_event.h
-+++ b/sql/log_event.h
-@@ -1860,7 +1860,7 @@ public:
-   bool is_valid() const { return query != 0; }
- 
-   /*
--    Returns number of bytes additionaly written to post header by derived
-+    Returns number of bytes additionally written to post header by derived
-     events (so far it is only Execute_load_query event).
-   */
-   virtual ulong get_post_header_size_for_derived() { return 0; }
---- a/sql/password.c
-+++ b/sql/password.c
-@@ -425,7 +425,7 @@ void make_scrambled_password(char *to, const char *password)
- 
- /*
-     Produce an obscure octet sequence from password and random
--    string, recieved from the server. This sequence corresponds to the
-+    string, received from the server. This sequence corresponds to the
-     password, but password can not be easily restored from it. The sequence
-     is then sent to the server for validation. Trailing zero is not stored
-     in the buf as it is not needed.
-@@ -467,7 +467,7 @@ scramble(char *to, const char *message, const char *password)
- 
- /*
-     Check that scrambled message corresponds to the password; the function
--    is used by server to check that recieved reply is authentic.
-+    is used by server to check that received reply is authentic.
-     This function does not check lengths of given strings: message must be
-     null-terminated, reply and hash_stage2 must be at least SHA1_HASH_SIZE
-     long (if not, something fishy is going on).
---- a/sql/rpl_utility.cc
-+++ b/sql/rpl_utility.cc
-@@ -1157,7 +1157,7 @@ bool Deferred_log_events::execute(Relay_log_info *rli)
- void Deferred_log_events::rewind()
- {
-   /*
--    Reset preceeding Query log event events which execution was
-+    Reset preceding Query log event events which execution was
-     deferred because of slave side filtering.
-   */
-   if (!is_empty())
---- a/sql/slave.cc
-+++ b/sql/slave.cc
-@@ -3524,7 +3524,7 @@ pthread_handler_t handle_slave_sql(void *arg)
-   set_thd_in_use_temporary_tables(rli);   // (re)set sql_thd in use for saved temp tables
-   /*
-     binlog_annotate_row_events must be TRUE only after an Annotate_rows event
--    has been recieved and only till the last corresponding rbr event has been
-+    has been received and only till the last corresponding rbr event has been
-     applied. In all other cases it must be FALSE.
-   */
-   thd->variables.binlog_annotate_row_events= 0;
---- a/sql/sql_connect.cc
-+++ b/sql/sql_connect.cc
-@@ -704,7 +704,7 @@ static void update_global_user_stats_with_user(THD *thd,
-   user_stats->cpu_time+=   (thd->status_var.cpu_time -
-                             thd->org_status_var.cpu_time); 
-   /*
--    This is handle specially as bytes_recieved is incremented BEFORE
-+    This is handle specially as bytes_received is incremented BEFORE
-     org_status_var is copied.
-   */
-   user_stats->bytes_received+= (thd->org_status_var.bytes_received-
---- a/sql/sql_prepare.cc
-+++ b/sql/sql_prepare.cc
-@@ -74,7 +74,7 @@ When one supplies long data for a placeholder:
- 
-   - Server gets the long data in pieces with command type
-     'COM_STMT_SEND_LONG_DATA'.
--  - The packet recieved will have the format as:
-+  - The packet received will have the format as:
-     [COM_STMT_SEND_LONG_DATA:1][STMT_ID:4][parameter_number:2][data]
-   - data from the packet is appended to the long data value buffer for this
-     placeholder.
---- a/sql/sql_select.cc
-+++ b/sql/sql_select.cc
-@@ -20409,7 +20409,7 @@ find_order_in_list(THD *thd, Item **ref_pointer_array, TABLE_LIST *tables,
-     Item *view_ref= NULL;
-     /*
-       If we have found field not by its alias in select list but by its
--      original field name, we should additionaly check if we have conflict
-+      original field name, we should additionally check if we have conflict
-       for this name (in case if we would perform lookup in all tables).
-     */
-     if (resolution == RESOLVED_BEHIND_ALIAS && !order_item->fixed &&
-@@ -21432,7 +21432,7 @@ change_to_use_tmp_fields(THD *thd, Item **ref_pointer_array,
-          We are replacing the argument of Item_func_set_user_var after its value
-          has been read.  The argument's null_value should be set by now, so we
-          must set it explicitly for the replacement argument since the null_value
--         may be read without any preceeding call to val_*().
-+         may be read without any preceding call to val_*().
-         */
-         new_field->update_null_value();
-         List<Item> list;
---- a/sql/sys_vars.cc
-+++ b/sql/sys_vars.cc
-@@ -3816,7 +3816,7 @@ static Sys_var_mybool Sys_binlog_annotate_row_events(
- #ifdef HAVE_REPLICATION
- static Sys_var_mybool Sys_replicate_annotate_row_events(
-        "replicate_annotate_row_events",
--       "Tells the slave to write annotate rows events recieved from the master "
-+       "Tells the slave to write annotate rows events received from the master "
-        "to its own binary log. Ignored if log_slave_updates is not set",
-        READ_ONLY GLOBAL_VAR(opt_replicate_annotate_row_events),
-        CMD_LINE(OPT_ARG), DEFAULT(0));
---- a/sql/tztime.cc
-+++ b/sql/tztime.cc
-@@ -2032,7 +2032,7 @@ tz_load_from_open_tables(const String *tz_name, TABLE_LIST *tz_tables)
- 
-   /*
-     At last we are doing the same thing for records in
--    mysql.time_zone_transition table. Here we additionaly need records
-+    mysql.time_zone_transition table. Here we additionally need records
-     in ascending order by index scan also satisfies us.
-   */
-   table= tz_tables->table; 
---- a/storage/maria/ma_rnext.c
-+++ b/storage/maria/ma_rnext.c
-@@ -71,7 +71,7 @@ int maria_rnext(MARIA_HA *info, uchar *buf, int inx)
-       Normally SQL layer would never request "search next" if
-       "search first" failed. But HANDLER may do anything.
- 
--      As mi_rnext() without preceeding mi_rkey()/mi_rfirst()
-+      As mi_rnext() without preceding mi_rkey()/mi_rfirst()
-       equals to mi_rfirst(), we must restore original state
-       as if failing mi_rfirst() was not called.
-     */
---- a/storage/myisam/mi_rnext.c
-+++ b/storage/myisam/mi_rnext.c
-@@ -66,7 +66,7 @@ int mi_rnext(MI_INFO *info, uchar *buf, int inx)
-       Normally SQL layer would never request "search next" if
-       "search first" failed. But HANDLER may do anything.
- 
--      As mi_rnext() without preceeding mi_rkey()/mi_rfirst()
-+      As mi_rnext() without preceding mi_rkey()/mi_rfirst()
-       equals to mi_rfirst(), we must restore original state
-       as if failing mi_rfirst() was not called.
-     */
---- a/storage/ndb/include/ndbapi/NdbEventOperation.hpp
-+++ b/storage/ndb/include/ndbapi/NdbEventOperation.hpp
-@@ -63,7 +63,7 @@ class NdbEventOperationImpl;
-  * - Event code does not check table schema version. Make sure to drop events
-  * after table is dropped. Will be fixed in later
-  * versions.
-- * - If a node failure has occured not all events will be recieved
-+ * - If a node failure has occured not all events will be received
-  * anymore. Drop NdbEventOperation and Create again after nodes are up
-  * again. Will be fixed in later versions.
-  *
---- a/storage/ndb/src/cw/cpcc-win32/csharp/telnetclient/telnetClient.cs
-+++ b/storage/ndb/src/cw/cpcc-win32/csharp/telnetclient/telnetClient.cs
-@@ -163,7 +163,7 @@ namespace NDB_CPC.telnetclient
- 				}
- 				else
- 				{
--					// If no data was recieved then the connection is probably dead
-+					// If no data was received then the connection is probably dead
- 					Console.WriteLine( "Disconnected", sock.RemoteEndPoint );
- 					sock.Shutdown( SocketShutdown.Both );
- 					sock.Close();
---- a/storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp
-+++ b/storage/ndb/src/kernel/blocks/dbtc/DbtcMain.cpp
-@@ -10559,7 +10559,7 @@ void Dbtc::releaseAbortResources(Signal* signal)
- 
-   // MASV let state be CS_ABORTING until all 
-   // signals in the "air" have been received. Reset to CS_CONNECTED
--  // will be done when a TCKEYREQ with start flag is recieved
-+  // will be done when a TCKEYREQ with start flag is received
-   // or releaseApiCon is called
-   // apiConnectptr.p->apiConnectstate = CS_CONNECTED;
-   apiConnectptr.p->apiConnectstate = CS_ABORTING;
---- a/storage/ndb/src/mgmsrv/MgmtSrvr.hpp
-+++ b/storage/ndb/src/mgmsrv/MgmtSrvr.hpp
-@@ -526,7 +526,7 @@ private:
-   //  we signal with a condition variable to the waiting
-   //  thread (receiveOptimisedResponse) that the signal has arrived.
-   // Parameters:
--  //  signal: The recieved signal
-+  //  signal: The received signal
-   // Returns: -
-   //**************************************************************************
- 
---- a/storage/ndb/test/ndbapi/testDict.cpp
-+++ b/storage/ndb/test/ndbapi/testDict.cpp
-@@ -942,7 +942,7 @@ int runStoreFrm(NDBT_Context* ctx, NDBT_Step* step){
-     
-     // Verfiy the frm data
-     if (memcmp(pData, pData2, resultLen) != 0){
--      g_err << "Wrong data recieved" << endl;
-+      g_err << "Wrong data received" << endl;
-       for (size_t i = 0; i < dataLen; i++){
- 	unsigned char c = ((unsigned char*)pData2)[i];
- 	g_err << hex << c << ", ";
---- a/storage/ndb/test/odbc/client/SQLColAttributeTest.cpp
-+++ b/storage/ndb/test/odbc/client/SQLColAttributeTest.cpp
-@@ -42,7 +42,7 @@ void ColAtt_DisplayError(SQLSMALLINT ColAtt_HandleType,
-  * Test returning descriptor information
-  *
-  * Tests:
-- * -# Call SQLColAttribute, without preceeding SQLPrepare
-+ * -# Call SQLColAttribute, without preceding SQLPrepare
-  * -# ???
-  * 
-  * @return Zero, if test succeeded
---- a/storage/ndb/test/odbc/client/SQLColAttributeTest2.cpp
-+++ b/storage/ndb/test/odbc/client/SQLColAttributeTest2.cpp
-@@ -42,7 +42,7 @@ void ColAtt_DisplayErrorTest2(SQLSMALLINT ColAttTest2_HandleType,
-  * Test returning descriptor information
-  *
-  * Test:
-- * -# Call SQLColAttribute without preceeding SQLExecute
-+ * -# Call SQLColAttribute without preceding SQLExecute
-  * -# Let TYPE is 'ITEM' in Table 20, FieldIdentifer is zero
-  * -# Let TYPE is 'ITEM' in Table 20, ColumnNumber is less than one
-  * -# FieldIdentifer is not one of the code valuess in Table 20
---- a/storage/tokudb/ft-index/ft/ft-flusher.cc
-+++ b/storage/tokudb/ft-index/ft/ft-flusher.cc
-@@ -1024,7 +1024,7 @@ ft_nonleaf_split(
-             B->bp[targchild] = node->bp[i];
-             memset(&node->bp[i], 0, sizeof(node->bp[0]));
- 
--            // Delete a child, removing the preceeding pivot key.  The child number must be > 0
-+            // Delete a child, removing the preceding pivot key.  The child number must be > 0
-             {
-                 paranoid_invariant(i>0);
-                 if (i>n_children_in_a) {
---- a/storage/xtradb/fil/fil0fil.c
-+++ b/storage/xtradb/fil/fil0fil.c
-@@ -3946,7 +3946,7 @@ func_exit:
- 		page_no = dict_index_get_page(index);
- 		ut_a(page_no == 3);
- 
--		fprintf(stderr, "InnoDB: It is compressed .ibd file. need to convert additionaly on buffer pool.\n");
-+		fprintf(stderr, "InnoDB: It is compressed .ibd file. need to convert additionally on buffer pool.\n");
- 
- 		/* down to leaf */
- 		mtr_start(&mtr);
diff --git a/debian/patches/99_remove_rename_mariadb-server_files_in.diff b/debian/patches/99_remove_rename_mariadb-server_files_in.diff
index 3add5c7..52e94d6 100644
--- a/debian/patches/99_remove_rename_mariadb-server_files_in.diff
+++ b/debian/patches/99_remove_rename_mariadb-server_files_in.diff
@@ -3,7 +3,7 @@ Description: Remove upstream debian/* handling that is obsolete
 
 --- old/CMakeLists.txt	2014-01-29 20:55:56.499842093 +0200
 +++ new/CMakeLists.txt	2014-01-31 17:12:27.633594128 +0200
-@@ -455,12 +455,6 @@
+@@ -430,12 +430,6 @@
  CONFIGURE_FILE(
      ${CMAKE_SOURCE_DIR}/cmake/info_macros.cmake.in ${CMAKE_BINARY_DIR}/info_macros.cmake @ONLY)
  
diff --git a/debian/patches/series b/debian/patches/series
index 6dcfe0d..479a9ca 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,6 +1,3 @@
-20_kfreebsd_tests.diff
-21_kfreebsd-peercred.diff
-22_hppa_invalid_operands.diff
 33_scripts__mysql_create_system_tables__no_test.diff
 38_scripts__mysqld_safe.sh__signals.diff
 41_scripts__mysql_install_db.sh__no_test.diff
@@ -9,5 +6,4 @@
 61_replace_dash_with_bash_mbug675185.diff
 75_man_syntax_fixes.diff
 82_extend_default_test_timeout_for_tokudb.diff
-90_spelling.diff
 99_remove_rename_mariadb-server_files_in.diff

-- 
Alioth's hooks/post-receive on /srv/git.debian.org/git/pkg-mysql/mariadb-5.5.git



More information about the Pkg-mysql-commits mailing list