Permalink
Browse files

README tweak

  • Loading branch information...
1 parent 42282db commit 95c2478df739b6c0a9a295f51b84e785347956f1 Luke Marsden committed Jun 14, 2011
Showing with 14 additions and 14 deletions.
  1. +13 −13 README
  2. +1 −1 txmysql/client.py
View
26 README
@@ -8,12 +8,7 @@ PREREQUISITES:
* qbuf (a Python C-extension)
-NEW FEATURES:
- * MySQL DATETIME fields now show up correctly (XXXX-XX-XX XX:XX:XX).
- * When a runOperation is called, the deferred now returns the a dictionary
- with the following:
- - {'insert_id': int, 'affected_rows': int, 'message': str,
- 'warning_count': int, 'server_status': int}
+FEATURES:
* Connects lazily to MySQL and disconnects if the connection is left
idle longer than idle_timeout
* Reconnects on errors when there are pending queries (including
@@ -26,6 +21,11 @@ NEW FEATURES:
* Code comments, and a lot of tidying up
* Fixed insidious bug relating to disconnection which resulted
in corrupt/duplicated results getting sent on the wrong deferreds
+ * MySQL DATETIME fields now show up correctly (XXXX-XX-XX XX:XX:XX).
+ * When a runOperation is called, the deferred now returns the a dictionary
+ with the following:
+ - {'insert_id': int, 'affected_rows': int, 'message': str,
+ 'warning_count': int, 'server_status': int}
TODO:
@@ -75,13 +75,13 @@ if __name__ == "__main__":
SHAMELESS PLUG:
-txMySQL will be used in production by Hybrid Web Cluster, which is an
-n-redundant web cluster with no single point of failure, which uses ZFS
-replication to eliminate shared storage in loosely coupled, geographically
-distributed web hosting environments. Entire data centres can fail and
-everything carries on running, with data loss and downtime measured in
-seconds, not hours or days, and stress caused by hardware or network
-connectivity failures a thing of the past.
+txMySQL is used in production by Hybrid Web Cluster, which is an n-redundant
+web cluster with no single point of failure, which uses ZFS replication to
+eliminate shared storage in loosely coupled, geographically distributed web
+hosting environments. Entire data centres can fail and everything carries on
+running, with data loss and downtime measured in seconds, not hours or days,
+and stress caused by hardware or network connectivity failures a thing of the
+past.
It runs on dedicated hardware and/or cloud infrastructure, enabling hybrid
setups where you use dedicated hardware for performance and cloud
View
@@ -237,7 +237,7 @@ def stateTransition(self, data=None, state='disconnected', reason=None):
# it now
if self._current_operation and self._error_condition:
if self.retry_on_error:
- print "Would have run retry here..."
+ print "Would have run retry here... %r" % (reason,)
if DEBUG:
print "Retrying on error %s, with current operation %s" % (str(reason), str(self._current_operation))
# Retry the current operation

0 comments on commit 95c2478

Please sign in to comment.