| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
method, since it is actually the preferable way to `-[SPMySQLConnection checkConnection]` (which forces network IO in a new thread each time)
* Change `-[SPDatabaseStructure queryDbStructureWithUserInfo:]` doing a forced connection check inside a tight loop (#2306)
|
|
|
|
| |
Issue introduced in b7875e8fdbdc5980c12a847997cc9631979dd4d3
|
| |
|
|
|
|
|
|
| |
cases (#2406)
Issue introduced in 0b9fb7e62aeba608081eb3ca1bc52dc7020c8add
|
|
|
|
| |
connection that is not disconnected")
|
|
|
|
|
|
|
|
|
|
| |
safer, too
* Reorder some code
* Replace some duplicate code with goto
* Simplify some if's
Maybe this also has some influence on our current top crash ("Attempted to connect a connection that is not disconnected")
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Take this commit as a proposal to formalize our existing "[x release], x = nil;" convention by introducing a macro for it.
Feel free to revert this commit if you see issues with the approch or implementation.
|
| |
|
| |
|
| |
|
|
|
|
| |
* Make some strings localizable
|
| |
|
|
|
|
|
|
|
|
|
| |
disconnections from external actions, and use that separation to perform safer disconnects
- When closing a database document, add a new notification, and use that to resolve retain cycles affecting connection processes
- Improve connection controller disconnection when the document is closed, fixing crashes, by building on those two features (addresses Issue #1396)
- Use some of the new functionality to improve SSH and MySQL connection cancellation, making both cancelable in the interface and making both respond much more quickly
|
| |
|
| |
|
|
|
|
|
|
|
| |
fix nightly builds
- Fix warnings
|
| |
|
|
|
|
| |
after the parent document was closed
|
|
|
|
|
|
|
| |
- Fix a bug where the socket path would not be autodetected if an empty string was supplied
- Fix a bug fetching primary key column names for tables
- Fix a bug building database structures on MySQL 3.x servers
|
|
- Add a ping keepalive managing object to prevent retain cycles from the NSTimer
- Add -[SPMySQLConnection copy] support
- Refactor Hans-Jörg Bibiko's database structure retrieval, moving it out of the MySQL framework and building it around a copy of the connection. This reduces the amount of connections-over-time used by Sequel Pro to two constant connections (addressing Issue #1097) and improves robustness.
- Use the database structure retrieval connection for faster query cancellation without an extra connection required, if possible
|