Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
asterisk
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
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Voice
asterisk
Commits
262221f4
Commit
262221f4
authored
5 years ago
by
Sean Bright
Browse files
Options
Downloads
Patches
Plain Diff
func_odbc.conf.sample: Add example lookup
Change-Id: Ia05aab1f579597963d2ea23920d2210cfcb97c84
parent
dbb3a19c
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
configs/samples/func_odbc.conf.sample
+4
-4
4 additions, 4 deletions
configs/samples/func_odbc.conf.sample
with
4 additions
and
4 deletions
configs/samples/func_odbc.conf.sample
+
4
−
4
View file @
262221f4
...
...
@@ -91,16 +91,16 @@
dsn=mysql1
readsql=${ARG1}
; ODBC_ANTI
GF
- A blacklist.
[ANTI
GF
]
; ODBC_ANTI
SOLICIT
- A blacklist
for known solicitors
.
[ANTI
SOLICIT
]
dsn=mysql1,mysql2 ; Use mysql1 as the primary handle, but fall back to mysql2
; if mysql1 is down. Supports up to 5 comma-separated
; DSNs. "dsn" may also be specified as "readhandle" and
; "writehandle", if it is important to separate reads and
; writes to different databases.
readsql=SELECT COUNT(*) FROM
exgirlfriend
s WHERE callerid='${SQL_ESC(${ARG1})}'
readsql=SELECT COUNT(*) FROM
known_solicitor
s WHERE callerid='${SQL_ESC(${ARG1})}'
syntax=<callerid>
synopsis=Check if a specified callerid is contained in the
ex-gf
database
synopsis=Check if a specified callerid is contained in the
known solicitors
database
; ODBC_PRESENCE - Retrieve and update presence
[PRESENCE]
...
...
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