*** 22,31 **** current module. The argv parameter is an array of argc pointers to null terminated strings. The first string, argv[0], is the name of the module being invoked. ! The second, argv[1], is the name of the table being ! created. If present, the third and subsquent strings ! in the argv[] array report the arguments to the module ! name in the CREATE VIRTUAL TABLE statement. The job of this method is to construct the new virtual table and return a pointer to it in *ppVTab. --- 22,33 ---- current module. The argv parameter is an array of argc pointers to null terminated strings. The first string, argv[0], is the name of the module being invoked. ! The second, argv[1], is the name of the database in which ! the new virtual table is being created. The third element ! of the array, argv[2], is the name of the new virtual table. ! If present, the fourth and subsquent strings in the argv[] ! array report the arguments to the module name in the ! CREATE VIRTUAL TABLE statement. The job of this method is to construct the new virtual table and return a pointer to it in *ppVTab. *************** *** 46,52 **** CREATE TABLE statement is ignored, as are all constraints. Only the column names and datatypes matter. ! xCreate method should return SQLITE_OK if it is successful in creating the new virtual table, or SQLITE_ERROR if it is not successful. --- 48,54 ---- CREATE TABLE statement is ignored, as are all constraints. Only the column names and datatypes matter. ! The xCreate method should return SQLITE_OK if it is successful in creating the new virtual table, or SQLITE_ERROR if it is not successful.