Dump database table names on startup.

oldstable
Mike McCormack 2004-06-29 03:57:39 +00:00 committed by Alexandre Julliard
parent 618a7e5813
commit 6fb0cee5d9
3 changed files with 4 additions and 3 deletions

View File

@ -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;

View File

@ -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__ */

View File

@ -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 )
{