1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-22 14:52:41 +01:00
phorge-phorge/src
epriestley f8eec38c94 When "mysqli->real_connect()" fails without setting an error code, recover more gracefully
Summary: Depends on D20779. Ref T13403. Bad parameters may cause this call to fail without setting an error code; if it does, catch the issue and go down the normal connection error pathway.

Test Plan:
  - With "mysql.port" set to "quack", ran `bin/storage probe`.
  - Before: wild mess of warnings as the code continued below and failed when trying to interact with the connection.
  - After: clean connection failure with a useful error message.

Maniphest Tasks: T13403

Differential Revision: https://secure.phabricator.com/D20780
2019-09-03 12:51:20 -07:00
..
__tests__ Use PhutilClassMapQuery instead of PhutilSymbolLoader 2015-08-14 07:49:01 +10:00
aphront Make minor flavor updates 2019-08-23 07:08:09 -07:00
applications Give "bin/config" a friendlier error message if "local.json" is not writable 2019-09-03 12:47:06 -07:00
docs Remove "bin/accountadmin" and "scripts/user/add_user.php" 2019-08-20 17:58:20 -07:00
extensions
infrastructure When "mysqli->real_connect()" fails without setting an error code, recover more gracefully 2019-09-03 12:51:20 -07:00
view Update Phortune payment account interfaces to handle merchant vs customer views 2019-08-22 21:02:41 -07:00
__phutil_library_init__.php
__phutil_library_map__.php Allow repository service lookups to return an ordered list of service refs 2019-09-03 10:05:40 -07:00