Dump database table names on startup.
This commit is contained in:
parent
618a7e5813
commit
6fb0cee5d9
|
@ -240,6 +240,9 @@ UINT WINAPI MsiOpenDatabaseW(LPCWSTR szDBPath, LPCWSTR szPersist, MSIHANDLE *phD
|
||||||
goto end;
|
goto end;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if( TRACE_ON( msi ) )
|
||||||
|
enum_stream_names( stg );
|
||||||
|
|
||||||
db->storage = stg;
|
db->storage = stg;
|
||||||
db->mode = szMode;
|
db->mode = szMode;
|
||||||
/* db->strings = NULL;
|
/* db->strings = NULL;
|
||||||
|
|
|
@ -212,6 +212,7 @@ extern UINT WINAPI MSI_RecordSetIStream( MSIHANDLE handle,
|
||||||
unsigned int iField, IStream *stm );
|
unsigned int iField, IStream *stm );
|
||||||
extern UINT get_raw_stream( MSIHANDLE hdb, LPCWSTR stname, 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 UINT db_get_raw_stream( MSIDATABASE *db, LPCWSTR stname, IStream **stm );
|
||||||
|
extern void enum_stream_names( IStorage *stg );
|
||||||
|
|
||||||
|
|
||||||
#endif /* __WINE_MSI_PRIVATE__ */
|
#endif /* __WINE_MSI_PRIVATE__ */
|
||||||
|
|
|
@ -126,7 +126,6 @@ static BOOL encode_streamname(BOOL bTable, LPCWSTR in, LPWSTR out)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if 0
|
|
||||||
static int mime2utf(int x)
|
static int mime2utf(int x)
|
||||||
{
|
{
|
||||||
if( x<10 )
|
if( x<10 )
|
||||||
|
@ -194,8 +193,6 @@ void enum_stream_names( IStorage *stg )
|
||||||
IEnumSTATSTG_Release( stgenum );
|
IEnumSTATSTG_Release( stgenum );
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
static UINT read_stream_data( IStorage *stg, LPCWSTR stname,
|
static UINT read_stream_data( IStorage *stg, LPCWSTR stname,
|
||||||
USHORT **pdata, UINT *psz )
|
USHORT **pdata, UINT *psz )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue