Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Laurent S
erp5
Commits
12dd9d6c
Commit
12dd9d6c
authored
Jun 27, 2013
by
Aurel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
these calls must be inside transaction
parent
8573808a
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
20 additions
and
5 deletions
+20
-5
bt5/erp5_syncml/SkinTemplateItem/portal_skins/erp5_syncml/z_catalog_syncml_document_list.xml
...rtal_skins/erp5_syncml/z_catalog_syncml_document_list.xml
+4
-1
bt5/erp5_syncml/SkinTemplateItem/portal_skins/erp5_syncml/z_get_syncml_gid_list.xml
...teItem/portal_skins/erp5_syncml/z_get_syncml_gid_list.xml
+5
-1
bt5/erp5_syncml/SkinTemplateItem/portal_skins/erp5_syncml/z_get_syncml_path_list.xml
...eItem/portal_skins/erp5_syncml/z_get_syncml_path_list.xml
+5
-1
bt5/erp5_syncml/SkinTemplateItem/portal_skins/erp5_syncml/z_unindex_syncml_data.xml
...teItem/portal_skins/erp5_syncml/z_unindex_syncml_data.xml
+5
-1
bt5/erp5_syncml/bt/revision
bt5/erp5_syncml/bt/revision
+1
-1
No files found.
bt5/erp5_syncml/SkinTemplateItem/portal_skins/erp5_syncml/z_catalog_syncml_document_list.xml
View file @
12dd9d6c
...
...
@@ -22,6 +22,8 @@
<key>
<string>
src
</string>
</key>
<value>
<string
encoding=
"cdata"
>
<![CDATA[
BEGIN\n
<dtml-var sql_delimiter>
\n
REPLACE INTO\n
syncml (`path`, `gid`)\n
VALUES\n
...
...
@@ -31,7 +33,8 @@ VALUES\n
<dtml-sqlvar
expr=
"gid[loop_item]"
type=
"string"
>
\n
)
<dtml-unless
sequence-end
>
,
</dtml-unless>
\n
</dtml-in>
\n
<dtml-var
sql_delimiter
>
\n
COMMIT
]]>
</string>
</value>
</item>
...
...
bt5/erp5_syncml/SkinTemplateItem/portal_skins/erp5_syncml/z_get_syncml_gid_list.xml
View file @
12dd9d6c
...
...
@@ -58,6 +58,8 @@ limit\r\n
<key>
<string>
src
</string>
</key>
<value>
<string
encoding=
"cdata"
>
<![CDATA[
BEGIN\n
<dtml-var sql_delimiter>
\n
SELECT \n
gid\n
FROM syncml\n
...
...
@@ -80,7 +82,9 @@ WHERE\n
ORDER BY gid\n
<dtml-if
limit
>
\n
LIMIT
<dtml-var
limit
>
\n
</dtml-if>
</dtml-if>
\n
<dtml-var
sql_delimiter
>
\n
COMMIT
]]>
</string>
</value>
</item>
...
...
bt5/erp5_syncml/SkinTemplateItem/portal_skins/erp5_syncml/z_get_syncml_path_list.xml
View file @
12dd9d6c
...
...
@@ -23,13 +23,17 @@ path</string> </value>
<key>
<string>
src
</string>
</key>
<value>
<string
encoding=
"cdata"
>
<![CDATA[
BEGIN\n
<dtml-var sql_delimiter>
\n
SELECT path \n
FROM syncml\n
WHERE\n
gid in (
<dtml-in
gid_list
><dtml-sqlvar
sequence-item
type=
"string"
>
\n
<dtml-if
sequence-end
><dtml-else>
,
</dtml-if></dtml-in>
)\n
AND\n
path like
<dtml-sqlvar
path
type=
"string"
>
path like
<dtml-sqlvar
path
type=
"string"
>
\n
<dtml-var
sql_delimiter
>
\n
COMMIT
]]>
</string>
</value>
</item>
...
...
bt5/erp5_syncml/SkinTemplateItem/portal_skins/erp5_syncml/z_unindex_syncml_data.xml
View file @
12dd9d6c
...
...
@@ -22,9 +22,13 @@
<key>
<string>
src
</string>
</key>
<value>
<string
encoding=
"cdata"
>
<![CDATA[
BEGIN\n
<dtml-var sql_delimiter>
\n
DELETE FROM syncml\n
WHERE\n
path like <dtml-sqlvar path type="string">
path like
<dtml-sqlvar
path
type=
"string"
>
\n
<dtml-var
sql_delimiter
>
\n
COMMIT
]]>
</string>
</value>
</item>
...
...
bt5/erp5_syncml/bt/revision
View file @
12dd9d6c
95
\ No newline at end of file
96
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment