4898794edd81be5285ea6e544acbedeaeb31bf78 max Tue Nov 23 08:10:57 2021 -0800 Fixing pointers to README file for license in all source code files. refs #27614 diff --git src/hg/oneShot/missingTable/missingTable.c src/hg/oneShot/missingTable/missingTable.c index 03736cf..2bc494c 100644 --- src/hg/oneShot/missingTable/missingTable.c +++ src/hg/oneShot/missingTable/missingTable.c @@ -1,37 +1,37 @@ /* missingTable - test what happens when database is missing a table. */ /* Copyright (C) 2011 The Regents of the University of California - * See README in this or parent directory for licensing information. */ + * See kent/LICENSE or http://genome.ucsc.edu/license/ for licensing information. */ #include "common.h" #include "jksql.h" void usage() /* Explain usage and exit. */ { errAbort( "missingTable - test what happens when database is missing a table\n" "usage:\n" " missingTable database table\n"); } void missingTable(char *database, char *table) /* missingTable - test what happens when database is missing a table. */ { struct sqlConnection *conn = sqlConnect(database); boolean exists = sqlTableExists(conn, table); printf("database %s, table %s, exists %s\n", database, table, (exists? "yes" : "no")); sqlDisconnect(&conn); } int main(int argc, char *argv[]) /* Process command line. */ { if (argc != 3) usage(); missingTable(argv[1], argv[2]); return 0; }