mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 02:05:57 +01:00
5d6ad2ad66
One should not change the program arguments! This change also reduces warnings from the icc compiler. Almost all changes are just syntax changes (adding const to 'get_one_option function' declarations). Other changes: - Added a few cast of 'argument' from 'const char*' to 'char *'. This was mainly in calls to 'external' functions we don't have control of. - Ensure that all reset of 'password command line argument' are similar. (In almost all cases it was just adding a comment and a cast) - In mysqlbinlog.cc and mysqld.cc there was a few cases that changed the command line argument. These places where changed to instead allocate the option in a MEM_ROOT to avoid changing the argument. Some of this code was changed to ensure that different programs did parsing the same way. Added a test case for the changes in mysqlbinlog.cc - Changed a few variables that took their value from command line options from 'char *' to 'const char *'. |
||
---|---|---|
.. | ||
quicklz | ||
backup_copy.cc | ||
backup_copy.h | ||
backup_debug.h | ||
backup_mysql.cc | ||
backup_mysql.h | ||
backup_wsrep.h | ||
changed_page_bitmap.cc | ||
changed_page_bitmap.h | ||
CMakeLists.txt | ||
common.h | ||
datasink.cc | ||
datasink.h | ||
ds_archive.cc | ||
ds_archive.h | ||
ds_buffer.cc | ||
ds_buffer.h | ||
ds_compress.cc | ||
ds_compress.h | ||
ds_local.cc | ||
ds_local.h | ||
ds_stdout.cc | ||
ds_stdout.h | ||
ds_tmpfile.cc | ||
ds_tmpfile.h | ||
ds_xbstream.cc | ||
ds_xbstream.h | ||
encryption_plugin.cc | ||
encryption_plugin.h | ||
fil_cur.cc | ||
fil_cur.h | ||
innobackupex.cc | ||
innobackupex.h | ||
read_filt.cc | ||
read_filt.h | ||
write_filt.cc | ||
write_filt.h | ||
wsrep.cc | ||
xb_regex.h | ||
xbcloud.cc | ||
xbstream.cc | ||
xbstream.h | ||
xbstream_read.cc | ||
xbstream_write.cc | ||
xtrabackup.cc | ||
xtrabackup.h |