Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Q
question2answer
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
outils
question2answer
Commits
02a10adc
Commit
02a10adc
authored
Feb 18, 2014
by
pupi1985
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed a few qa_db_read_all_values into qa_db_read_one_value
parent
ed8194f6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
qa-db-admin.php
qa-include/qa-db-admin.php
+3
-4
No files found.
qa-include/qa-db-admin.php
View file @
02a10adc
...
@@ -220,7 +220,7 @@
...
@@ -220,7 +220,7 @@
Return whether there are any blobs whose content has been stored as a file on disk
Return whether there are any blobs whose content has been stored as a file on disk
*/
*/
{
{
return
(
bool
)
count
(
qa_db_read_all_values
(
qa_db_query_sub
(
'SELECT blobid FROM ^blobs WHERE content IS NULL LIMIT 1'
)))
;
return
qa_db_read_one_value
(
qa_db_query_sub
(
'SELECT blobid FROM ^blobs WHERE content IS NULL LIMIT 1'
),
true
)
!=
null
;
}
}
...
@@ -229,7 +229,7 @@
...
@@ -229,7 +229,7 @@
Return whether there are any blobs whose content has been stored in the database
Return whether there are any blobs whose content has been stored in the database
*/
*/
{
{
return
(
bool
)
count
(
qa_db_read_all_values
(
qa_db_query_sub
(
'SELECT blobid FROM ^blobs WHERE content IS NOT NULL LIMIT 1'
)))
;
return
qa_db_read_one_value
(
qa_db_query_sub
(
'SELECT blobid FROM ^blobs WHERE content IS NOT NULL LIMIT 1'
),
true
)
!=
null
;
}
}
...
@@ -603,4 +603,4 @@
...
@@ -603,4 +603,4 @@
/*
/*
Omit PHP closing tag to help avoid accidental output
Omit PHP closing tag to help avoid accidental output
*/
*/
\ 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