Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
pike
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pikelang
pike
Commits
a6a8e303
Commit
a6a8e303
authored
15 years ago
by
Stephen R. van den Berg
Browse files
Options
Downloads
Patches
Plain Diff
Clear dangling cache entry for CREATE statements.
Rev: CHANGES:1.204 Rev: lib/modules/Sql.pmod/pgsql.pike:1.73
parent
9e1930cb
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGES
+3
-0
3 additions, 0 deletions
CHANGES
lib/modules/Sql.pmod/pgsql.pike
+1
-1
1 addition, 1 deletion
lib/modules/Sql.pmod/pgsql.pike
with
4 additions
and
1 deletion
CHANGES
+
3
−
0
View file @
a6a8e303
...
@@ -18,6 +18,9 @@ o String.normalize_space
...
@@ -18,6 +18,9 @@ o String.normalize_space
Bug fixes
Bug fixes
---------
---------
o Fixed dangling cache reference in prepared statements when using CREATE
statements via Sql.pgsql.
o Improved widestring support for Parser.Tabular.
o Improved widestring support for Parser.Tabular.
o Fixed segfault in combine_path_nt on windows when the first char
o Fixed segfault in combine_path_nt on windows when the first char
...
...
This diff is collapsed.
Click to expand it.
lib/modules/Sql.pmod/pgsql.pike
+
1
−
1
View file @
a6a8e303
...
@@ -1687,7 +1687,7 @@ object big_query(string q,void|mapping(string|int:mixed) bindings,
...
@@ -1687,7 +1687,7 @@ object big_query(string q,void|mapping(string|int:mixed) bindings,
}
}
}
}
if(forcecache!=1 && createprefix->match(q)) // Flush cache on CREATE
if(forcecache!=1 && createprefix->match(q)) // Flush cache on CREATE
invalidatecache=1;
invalidatecache=1
,tp=UNDEFINED
;
else
else
prepareds[q]=tp=([]);
prepareds[q]=tp=([]);
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment