File tree Expand file tree Collapse file tree 3 files changed +1
-22
lines changed Expand file tree Collapse file tree 3 files changed +1
-22
lines changed Original file line number Diff line number Diff line change 144
144
# Debian: beware of the bashisms...
145
145
# Debian: can safely run on upgrades with existing databases
146
146
set +e
147
- bash /usr/bin/mysql_install_db --rpm --cross-bootstrap --user=mysql --disable-log-bin --upgrade-info 2>&1 | $ERR_LOGGER
147
+ bash /usr/bin/mysql_install_db --rpm --cross-bootstrap --user=mysql --disable-log-bin 2>&1 | $ERR_LOGGER
148
148
set -e
149
149
150
150
# # On every reconfiguration the maintenance user is recreated.
Original file line number Diff line number Diff line change @@ -276,21 +276,6 @@ This must be given as the first argument\&.
276
276
.sp -1
277
277
.IP \(bu 2.3
278
278
.\}
279
- .\" mysql_install_db: upgrade-info option
280
- .\" upgrade-info option: mysql_install_db
281
- \fB \-\- upgrade \- info \fR
282
- .sp
283
- This places a mysql_upgrade_info file containing the server version in the data directory\& .
284
- .RE
285
- .sp
286
- .RS 4
287
- .ie n \{\
288
- \h '-04' \(bu \h '+03' \c
289
- .\}
290
- .el \{\
291
- .sp -1
292
- .IP \(bu 2.3
293
- .\}
294
279
.\" mysql_install_db: rpm option
295
280
.\" rpm option: mysql_install_db
296
281
\fB \-\- rpm \fR
Original file line number Diff line number Diff line change @@ -42,7 +42,6 @@ create database if not exists test;
42
42
use mysql;"
43
43
auth_root_authentication_method=normal
44
44
auth_root_socket_user=' root'
45
- upgrade_info=0
46
45
47
46
dirname0=` dirname $0 2> /dev/null`
48
47
dirname0=` dirname $dirname0 2> /dev/null`
@@ -104,7 +103,6 @@ Usage: $0 [OPTIONS]
104
103
group. You must be root to use this option. By default
105
104
mysqld runs using your current group and files and
106
105
directories that it creates will be owned by you.
107
- --upgrade-info Store mysql_upgrade_info in the installed data directory.
108
106
109
107
All other options are passed to the mysqld program
110
108
@@ -160,7 +158,6 @@ parse_arguments()
160
158
--skip-name-resolve) ip_only=1 ;;
161
159
--verbose) verbose=1 ; silent_startup=" " ;;
162
160
--rpm) in_rpm=1 ;;
163
- --upgrade-info) upgrade_info=1 ;;
164
161
--help) usage ;;
165
162
--no-defaults|--defaults-file=* |--defaults-extra-file=* )
166
163
defaults=" $arg " ;;
@@ -528,10 +525,7 @@ SET @auth_root_socket='$auth_root_socket_user';" ;;
528
525
esac
529
526
if { echo " $install_params " ; cat " $create_system_tables " " $create_system_tables2 " " $fill_system_tables " " $fill_help_tables " " $maria_add_gis_sp " ; } | eval " $filter_cmd_line " | mysqld_install_cmd_line > /dev/null
530
527
then
531
- if test " $upgrade_info " -eq 1
532
- then
533
528
printf " @VERSION@-MariaDB" > " $ldata /mysql_upgrade_info"
534
- fi
535
529
s_echo " OK"
536
530
else
537
531
echo
You can’t perform that action at this time.
0 commit comments