Skip to content

Commit ba3a172

Browse files
committed
Merge branch '3.3' into 3.4
2 parents cacd251 + 77bdf5a commit ba3a172

25 files changed

+42
-50
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ SET(CC_BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR})
5353
SET(CPACK_PACKAGE_VERSION_MAJOR 3)
5454
SET(CPACK_PACKAGE_VERSION_MINOR 4)
5555
SET(CPACK_PACKAGE_VERSION_PATCH 6)
56+
5657
SET(CPACK_PACKAGE_VERSION "${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}")
5758
MATH(EXPR MARIADB_PACKAGE_VERSION_ID "${CPACK_PACKAGE_VERSION_MAJOR} * 10000 +
5859
${CPACK_PACKAGE_VERSION_MINOR} * 100 +

include/ma_context.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ struct mysql_async_context {
301301
void (*suspend_resume_hook)(my_bool suspend, void *user_data);
302302
void *suspend_resume_hook_user_data;
303303

304-
/* If non-NULL, this is a poitner to the result of getaddrinfo() currently
304+
/* If non-NULL, this is a pointer to the result of getaddrinfo() currently
305305
* under traversal in pvio_socket_connect(). It gets reset to NULL when a
306306
* connection has been established to a server. The main objective is to
307307
* free this memory resource in mysql_close() while an initiated connection

include/ma_global.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -290,8 +290,8 @@ typedef unsigned short ushort;
290290
/* From old s-system.h */
291291

292292
/*
293-
Support macros for non ansi & other old compilers. Since such
294-
things are no longer supported we do nothing. We keep then since
293+
Support macros for non-ansi & other old compilers. Since such
294+
things are no longer supported we do nothing. We keep them since
295295
some of our code may still be needed to upgrade old customers.
296296
*/
297297
#define _VARARGS(X) X
@@ -394,7 +394,7 @@ typedef SOCKET_SIZE_TYPE size_socket;
394394
#define FN_EXTCHAR '.'
395395
#define FN_HOMELIB '~' /* ~/ is used as abbrev for home dir */
396396
#define FN_CURLIB '.' /* ./ is used as abbrev for current dir */
397-
#define FN_PARENTDIR ".." /* Parentdirectory; Must be a string */
397+
#define FN_PARENTDIR ".." /* Parent directory; Must be a string */
398398
#define FN_DEVCHAR ':'
399399

400400
#ifndef FN_LIBCHAR

include/ma_pvio.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#endif
1010

1111
/* CONC-492: Allow to build plugins outside of MariaDB Connector/C
12-
source tree wnen ma_global.h was not included. */
12+
source tree when ma_global.h was not included. */
1313
#if !defined(_global_h) && !defined(MY_GLOBAL_INCLUDED)
1414
typedef unsigned char uchar;
1515
#endif

include/mariadb_com.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ enum enum_server_command
170170
#define CLIENT_SSL_VERIFY_SERVER_CERT_OBSOLETE CLIENT_SSL_VERIFY_SERVER_CERT
171171
#define CLIENT_REMEMBER_OPTIONS (1UL << 31)
172172

173-
/* MariaDB specific capabilities */
173+
/* MariaDB-specific capabilities */
174174
#define MARIADB_CLIENT_FLAGS 0xFFFFFFFF00000000ULL
175175
#define MARIADB_CLIENT_PROGRESS (1ULL << 32)
176176
#define MARIADB_CLIENT_RESERVED_1 (1ULL << 33) /* Former COM_MULTI, don't use */

include/mysql.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ extern const char *SQLSTATE_UNKNOWN;
226226
MYSQL_OPT_TLS_VERSION,
227227
MYSQL_OPT_ZSTD_COMPRESSION_LEVEL,
228228

229-
/* MariaDB specific */
229+
/* MariaDB-specific */
230230
MYSQL_PROGRESS_CALLBACK=5999,
231231
MYSQL_OPT_NONBLOCK,
232232
/* MariaDB Connector/C specific */

libmariadb/ma_charset.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1215,7 +1215,7 @@ size_t mysql_cset_escape_slashes(const MARIADB_CHARSET_INFO * cset, char *newstr
12151215
escape_overflow = TRUE;
12161216
break;
12171217
}
1218-
/* copy non escaped character */
1218+
/* copy non-escaped character */
12191219
*newstr++ = *escapestr;
12201220
}
12211221
}
@@ -1397,7 +1397,7 @@ struct st_madb_os_charset MADB_OS_CHARSET[]=
13971397
{"57011", "ISCII Punjabi", NULL, NULL, MADB_CS_UNSUPPORTED},
13981398
{"65000", "utf-7 Unicode (UTF-7)", NULL, NULL, MADB_CS_UNSUPPORTED},
13991399
{"65001", "utf-8 Unicode (UTF-8)", "utf8", NULL, MADB_CS_EXACT},
1400-
/* non Windows */
1400+
/* non-Windows */
14011401
#else
14021402
/* iconv encodings */
14031403
{"ASCII", "US-ASCII", "ascii", "ASCII", MADB_CS_APPROX},

libmariadb/ma_client_plugin.c.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ int mysql_client_plugin_init()
309309
/**
310310
Deinitializes the client plugin layer.
311311

312-
Unloades all client plugins and frees any associated resources.
312+
Unloads all client plugins and frees any associated resources.
313313
*/
314314

315315
void mysql_client_plugin_deinit()

libmariadb/ma_decimal.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
/*
2020
=======================================================================
2121
NOTE: this library implements SQL standard "exact numeric" type
22-
and is not at all generic, but rather intentinally crippled to
22+
and is not at all generic, but rather intentionally crippled to
2323
follow the standard :)
2424
=======================================================================
2525
Quoting the standard

libmariadb/ma_dtoa.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -597,7 +597,7 @@ typedef struct Bigint
597597
} Bigint;
598598

599599

600-
/* A simple stack-memory based allocator for Bigints */
600+
/* A simple stack-memory-based allocator for Bigints */
601601

602602
typedef struct Stack_alloc
603603
{

0 commit comments

Comments
 (0)