src/hg/lib/cart.c 1.112
1.112 2009/08/28 00:54:54 galt
do not need sqlTableOk now that sqlTableExists works right with innodb and myisam both
Index: src/hg/lib/cart.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/lib/cart.c,v
retrieving revision 1.111
retrieving revision 1.112
diff -b -B -U 4 -r1.111 -r1.112
--- src/hg/lib/cart.c 10 Jul 2009 01:40:37 -0000 1.111
+++ src/hg/lib/cart.c 28 Aug 2009 00:54:54 -0000 1.112
@@ -94,15 +94,15 @@
boolean cartTablesOk(struct sqlConnection *conn)
/* Return TRUE if cart tables are accessible (otherwise, the connection
* doesn't do us any good). */
{
-if (!sqlTableOk(conn, "userDb"))
+if (!sqlTableExists(conn, "userDb"))
{
fprintf(stderr, "ASH: cartTablesOk failed on %s.userDb! pid=%ld\n",
sqlGetDatabase(conn), (long)getpid());
return FALSE;
}
-if (!sqlTableOk(conn, "sessionDb"))
+if (!sqlTableExists(conn, "sessionDb"))
{
fprintf(stderr, "ASH: cartTablesOk failed on %s.sessionDb! pid=%ld\n",
sqlGetDatabase(conn), (long)getpid());
return FALSE;