69 DWORD wildcard_count = 1,
i;
72 for(
i=1;
i <= fields;
i++ )
76 TRACE(
"Not enough elements in the list to insert\n");
79 switch( vl->
val->type )
95 ERR(
"Unknown expression type %d\n", vl->
val->type);
114 for (
i = 1;
i <= col_count;
i++)
130 UINT col_count, val_count;
150 for (colidx = 1; colidx <= val_count; colidx++)
156 for (
i = 1;
i <= col_count;
i++)
187 for (
i = 1;
i <= col_count;
i++)
218 TRACE(
"sv execute returned %x\n",
r);
271 TRACE(
"%p %p %p\n", iv, rows, cols );
286 TRACE(
"%p %d %p %p %p %p\n", iv,
n,
name,
type, temporary, table_name );
299 TRACE(
"%p %d %p\n", iv, eModifyMode, rec );
346 for ( ; ci; ci = ci->
next )
void msiobj_addref(MSIOBJECTHDR *info)
static UINT INSERT_modify(struct tagMSIVIEW *view, MSIMODIFY eModifyMode, MSIRECORD *rec, UINT row)
UINT MSI_RecordSetStringW(MSIRECORD *, UINT, LPCWSTR) DECLSPEC_HIDDEN
UINT MSI_RecordCopyField(MSIRECORD *, UINT, MSIRECORD *, UINT) DECLSPEC_HIDDEN
UINT INSERT_CreateView(MSIDATABASE *db, MSIVIEW **view, LPCWSTR table, column_info *columns, column_info *values, BOOL temp)
UINT TABLE_CreateView(MSIDATABASE *db, LPCWSTR name, MSIVIEW **view) DECLSPEC_HIDDEN
static UINT INSERT_get_column_info(struct tagMSIVIEW *view, UINT n, LPCWSTR *name, UINT *type, BOOL *temporary, LPCWSTR *table_name)
UINT(* get_dimensions)(struct tagMSIVIEW *view, UINT *rows, UINT *cols)
GLdouble GLdouble GLdouble r
GLboolean GLenum GLenum GLvoid * values
struct _column_info * next
static void msi_free(void *mem)
UINT(* execute)(struct tagMSIVIEW *view, MSIRECORD *record)
static UINT INSERT_execute(struct tagMSIVIEW *view, MSIRECORD *record)
static void * msi_alloc_zero(size_t len) __WINE_ALLOC_SIZE(1)
UINT MSI_RecordSetInteger(MSIRECORD *, UINT, int) DECLSPEC_HIDDEN
#define ERROR_FUNCTION_FAILED
BOOL MSI_RecordIsNull(MSIRECORD *, UINT) DECLSPEC_HIDDEN
static const MSIVIEWOPS insert_ops
UINT SELECT_CreateView(MSIDATABASE *db, MSIVIEW **view, MSIVIEW *table, const column_info *columns) DECLSPEC_HIDDEN
static UINT INSERT_close(struct tagMSIVIEW *view)
static BOOL row_has_null_primary_keys(MSIINSERTVIEW *iv, MSIRECORD *row)
GLboolean GLboolean GLboolean b
UINT(* close)(struct tagMSIVIEW *view)
static BOOL msi_columns_in_order(MSIINSERTVIEW *iv, UINT col_count)
static UINT msi_arrange_record(MSIINSERTVIEW *iv, MSIRECORD **values)
MSIRECORD * msi_query_merge_record(UINT fields, const column_info *vl, MSIRECORD *rec)
int msiobj_release(MSIOBJECTHDR *info)
static UINT count_column_info(const column_info *ci)
MSIRECORD * MSI_CreateRecord(UINT) DECLSPEC_HIDDEN
static UINT INSERT_get_dimensions(struct tagMSIVIEW *view, UINT *rows, UINT *cols)
_Check_return_ _CRTIMP int __cdecl wcscmp(_In_z_ const wchar_t *_Str1, _In_z_ const wchar_t *_Str2)
UINT(* delete)(struct tagMSIVIEW *)
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
WINE_DEFAULT_DEBUG_CHANNEL(msidb)
static UINT INSERT_fetch_int(struct tagMSIVIEW *view, UINT row, UINT col, UINT *val)
struct tagMSIINSERTVIEW MSIINSERTVIEW
static UINT INSERT_delete(struct tagMSIVIEW *view)
UINT(* get_column_info)(struct tagMSIVIEW *view, UINT n, LPCWSTR *name, UINT *type, BOOL *temporary, LPCWSTR *table_name)
GLuint GLuint GLsizei GLenum type
GLboolean GLboolean GLboolean GLboolean a
#define ERROR_BAD_QUERY_SYNTAX
UINT MSI_RecordGetFieldCount(const MSIRECORD *rec) DECLSPEC_HIDDEN
struct png_info_def *typedef unsigned char **typedef struct png_info_def *typedef struct png_info_def *typedef struct png_info_def *typedef unsigned char ** row
UINT(* insert_row)(struct tagMSIVIEW *view, MSIRECORD *record, UINT row, BOOL temporary)