Commit 6fb0cee5 authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

Dump database table names on startup.

parent 618a7e58
......@@ -240,6 +240,9 @@ UINT WINAPI MsiOpenDatabaseW(LPCWSTR szDBPath, LPCWSTR szPersist, MSIHANDLE *phD
goto end;
}
if( TRACE_ON( msi ) )
enum_stream_names( stg );
db->storage = stg;
db->mode = szMode;
/* db->strings = NULL;
......
......@@ -212,6 +212,7 @@ extern UINT WINAPI MSI_RecordSetIStream( MSIHANDLE handle,
unsigned int iField, IStream *stm );
extern UINT get_raw_stream( MSIHANDLE hdb, LPCWSTR stname, IStream **stm );
extern UINT db_get_raw_stream( MSIDATABASE *db, LPCWSTR stname, IStream **stm );
extern void enum_stream_names( IStorage *stg );
#endif /* __WINE_MSI_PRIVATE__ */
......@@ -126,7 +126,6 @@ static BOOL encode_streamname(BOOL bTable, LPCWSTR in, LPWSTR out)
return FALSE;
}
#if 0
static int mime2utf(int x)
{
if( x<10 )
......@@ -194,8 +193,6 @@ void enum_stream_names( IStorage *stg )
IEnumSTATSTG_Release( stgenum );
}
#endif
static UINT read_stream_data( IStorage *stg, LPCWSTR stname,
USHORT **pdata, UINT *psz )
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment