b=273050, bump interface UUIDs and fix test compilation

This commit is contained in:
vladimir%pobox.com 2005-11-15 19:35:39 +00:00
Родитель 68ad0ac6e7
Коммит d22f633bce
5 изменённых файлов: 6 добавлений и 6 удалений

Просмотреть файл

@ -49,7 +49,7 @@ interface nsIFile;
* creating prepared statements, executing SQL, and examining database
* errors.
*/
[scriptable, uuid(623b8b2e-c9f9-4cc3-b15a-f3c96df2cc1c)]
[scriptable, uuid(e045e635-94af-48af-9a8d-80f1a88a35f3)]
interface mozIStorageConnection : nsISupports {
/*
* Initialization and status

Просмотреть файл

@ -48,7 +48,7 @@ interface nsIFile;
*
* This is the only way to open a database connection.
*/
[scriptable, uuid(22cff01c-1a5a-4b11-9e27-f8f832226489)]
[scriptable, uuid(a4a0cad9-e0da-4379-bee4-2feef3dddc7e)]
interface mozIStorageService : nsISupports {
/**
* Get a connection to a named special database storage.

Просмотреть файл

@ -45,7 +45,7 @@ interface nsISimpleEnumerator;
[ptr] native sqlite3stmtptr(struct sqlite3_stmt);
[scriptable, uuid(656aa634-36e2-4977-802e-79bce39c1024)]
[scriptable, uuid(1f39bc95-090d-40a5-9dee-6d5a591e48bf)]
interface mozIStorageStatement : mozIStorageValueArray {
/**
* Initialize this query with the given SQL statement.

Просмотреть файл

@ -44,7 +44,7 @@
* mozIStorageValueArray wraps an array of SQL values,
* such as a single database row.
*/
[scriptable, uuid(44fc1d3b-dc91-4d17-8bc5-2069d8fd3cca)]
[scriptable, uuid(07b5b93e-113c-4150-863c-d247b003a55d)]
interface mozIStorageValueArray : nsISupports {
/**
* These type values are returned by getTypeOfIndex

Просмотреть файл

@ -109,8 +109,8 @@ main (int argc, char **argv)
{
PRUint32 len;
dbRow->GetNumColumns (&len);
fprintf (stderr, "Row[length %d]: %d '%s'\n", len, dbRow->AsInt32(0), dbRow->AsSharedCString(0, 0));
dbRow->GetNumEntries (&len);
fprintf (stderr, "Row[length %d]: %d '%s'\n", len, dbRow->AsInt32(0), dbRow->AsSharedUTF8String(0, 0));
}
TEST_CHECK_ERROR(rv);