Author: bkuhn
Date: Mon Jun 29 01:30:19 2009
New Revision: 5982

URL: http://svn.gna.org/viewcvs/pokersource?rev=5982&view=rev
Log:
Merged table-picker-bug-13789 into trunk.  TablePicker() now returns
fullest table w/ seat that matches given criteria, which closed bug#13789.

This was implemented by simply adding an ORDER BY on listTables() query to
force the tables with the most players to be seen first by the selection
function, getTableBestByCriteria() which already returns when it finds the
first table that isn't full and the player has enough money to buy in for.

Loic raised concern about doing an ORDER BY serial as well, since it slows
the query down a bit.  I left it in as it allows the semantic to be
clearly defined when there are ties.

Modified:
    trunk/poker-network/ChangeLog
    trunk/poker-network/pokernetwork/pokerpackets.py
    trunk/poker-network/pokernetwork/pokerservice.py
    trunk/poker-network/tests/test-pokeravatar.py.in


_______________________________________________
Pokersource-commits mailing list
[email protected]
https://mail.gna.org/listinfo/pokersource-commits

Reply via email to