#NEWLINE# def fetchall( self ) : #NEWLINE# #INDENT# '\n        Fetch all, as per MySQLdb. Pretty useless for large queries, as\n        it is buffered. See fetchall_unbuffered(), if you want an unbuffered\n        generator version of this method.\n        ' #NEWLINE# rows = [ ] #NEWLINE# while True : #NEWLINE# #INDENT# row = self . fetchone ( ) #NEWLINE# if ( rows is None ) : #NEWLINE# #INDENT# break #NEWLINE# #UNINDENT# rows . append ( row ) #NEWLINE# #UNINDENT# return tuple ( rows )