Cameron Sparr
a65447d22e
Use mysql.ParseDSN func instead of url.Parse
...
The MySQL DB driver has it's own DSN parsing function. Previously we
were using the url.Parse function, but this causes problems because a
valid MySQL DSN can be an invalid http URL, namely when using some
special characters in the password.
This change uses the MySQL DB driver's builtin ParseDSN function and
applies a timeout parameter natively via that.
Another benefit of this change is that we fail earlier if given an
invalid MySQL DSN.
closes #870
closes #1842
2016-10-12 17:10:28 +01:00
..
2016-10-03 17:13:03 +01:00
2016-09-06 17:21:01 +01:00
2016-06-22 14:42:47 +01:00
2016-02-18 14:36:03 -07:00
2016-10-03 17:13:03 +01:00
2016-10-03 17:13:03 +01:00
2016-10-12 11:04:28 +01:00
2016-05-25 18:58:56 +01:00
2016-08-30 14:33:51 -07:00
2016-10-03 17:13:03 +01:00
2016-06-01 11:02:28 +01:00
2016-09-09 16:11:17 +01:00
2016-03-01 09:43:28 +00:00
2016-04-19 17:44:33 -06:00
2016-07-19 14:45:55 +01:00
2016-10-03 17:13:03 +01:00
2016-07-19 14:45:55 +01:00
2016-08-29 11:06:30 +01:00
2016-08-31 10:32:33 +01:00
2016-04-26 09:42:06 -06:00
2016-06-01 18:44:18 +01:00
2016-10-11 11:30:22 +01:00
2016-07-21 17:00:54 +01:00
2016-10-12 14:50:19 +01:00
2016-05-25 13:44:36 +01:00
2016-08-30 16:23:15 +01:00
2016-09-16 16:50:39 +01:00
2016-04-29 12:06:22 -06:00
2016-08-31 10:42:44 +01:00
2016-09-06 11:11:27 +01:00
2016-10-03 17:13:03 +01:00
2016-04-29 12:06:22 -06:00
2016-10-10 11:27:35 +01:00
2016-04-27 15:35:24 -06:00
2016-10-03 17:13:03 +01:00
2016-07-19 14:45:55 +01:00
2016-10-03 17:13:03 +01:00
2016-10-03 17:13:03 +01:00
2016-10-03 17:13:03 +01:00
2016-10-12 17:10:28 +01:00
2016-10-03 17:13:03 +01:00
2016-05-23 15:59:23 +01:00
2016-07-19 14:45:55 +01:00
2016-07-19 14:45:55 +01:00
2016-10-03 17:13:03 +01:00
2016-07-19 14:51:36 +01:00
2016-10-03 17:13:03 +01:00
2016-02-18 14:36:03 -07:00
2016-10-12 11:58:38 +01:00
2016-08-09 08:27:30 +01:00
2016-09-07 09:39:55 +01:00
2016-10-12 14:50:19 +01:00
2016-10-03 17:13:03 +01:00
2016-10-03 17:13:03 +01:00
2016-07-09 22:34:59 +02:00
2016-02-18 14:36:03 -07:00
2016-10-06 14:26:53 +01:00
2016-03-01 09:43:28 +00:00
2016-08-31 01:05:11 -04:00
2016-04-19 17:44:33 -06:00
2016-06-22 14:56:44 +01:00
2016-09-12 10:30:35 +01:00
2016-10-12 11:00:39 +01:00
2016-10-03 17:13:03 +01:00
2016-10-06 14:21:14 +01:00
2016-10-11 10:57:34 +01:00
2016-10-03 17:13:03 +01:00
2016-10-03 17:13:03 +01:00
2016-10-03 17:13:03 +01:00
2016-10-03 17:13:03 +01:00
2016-02-18 14:36:03 -07:00
2016-02-18 14:36:03 -07:00
2016-10-03 17:13:03 +01:00
2016-09-23 16:06:33 +01:00
2016-10-03 17:13:03 +01:00
2016-08-09 08:29:37 +01:00
2016-06-01 18:58:54 +01:00
2016-08-10 22:58:47 +01:00
2016-08-08 23:06:03 +01:00
2016-08-08 23:06:03 +01:00
2016-01-27 15:42:50 -07:00