Last modified: 2013-10-18 03:22:28 UTC
The script seems to give output for failure conditions, but nothing if all goes well... At least "done" would be useful. For example: mysql:wikiadmin@db63 [enwiki]> SELECT MAX( `en_id` ) FROM `securepoll_entity`; +----------------+ | MAX( `en_id` ) | +----------------+ | 258 | +----------------+ 1 row in set (0.02 sec) mysql:wikiadmin@db63 [enwiki]> ^CCtrl-C -- exit! Aborted reedy@fenari:/home/wikipedia/common/php-1.21wmf4$ mwscript extensions/SecurePoll/cli/import.php --wiki=enwiki ~/arbcom-2012.xml reedy@fenari:/home/wikipedia/common/php-1.21wmf4$ sql enwiki Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 502691498 Server version: 5.1.53-wm-log (mysql-at-facebook-r3875) Copyright (c) 2000, 2012, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql:wikiadmin@db63 [enwiki]> SELECT MAX( `en_id` ) FROM `securepoll_entity`; +----------------+ | MAX( `en_id` ) | +----------------+ | 281 | +----------------+ 1 row in set (0.00 sec)
Related URL: https://gerrit.wikimedia.org/r/66120 (Gerrit Change I879feacba211ac3cfd1eb55629300b78ef2e4c0c)
https://gerrit.wikimedia.org/r/66120 was merged and issue has been resolved.