, f.geometry AS geometry, "       "a.attr_id AS attr_id, a.attr_key AS attr_key, a.attr_value AS attr_value "       "FROM \"%s\" AS f "       "LEFT JOIN \"%s\" AS a ON (f.feature_id = a.feature_id)",       xview_name, xname, xattr_name);     free (xview_name);     free (xattr_name);     free (xname);     ret = sqlite0_exec (handle, sql, NULL, NULL, NULL);     sqlite0_free (sql);     if (ret != SQLITE_OK)       {    spatialite_e ("CREATE VIEW %s error: %s\n", view_name,    sqlite0_errmsg (handle));    return 0;       }     sqlite0_free (view_name);     if (!create_extra_stmt (handle, attr_name, &stmt_ext))  return 0;      *xstmt_ext = stmt_ext;     return 0; }  static int create_layer_point_extra_attr_table (sqlite0 * handle, const char *name,          char *attr_name, sqlite0_stmt ** xstmt_ext) { /* attempting to create the "Po