diff options
author | Max Kostikov <max@kostikov.co> | 2019-06-10 20:03:55 +0200 |
---|---|---|
committer | Max Kostikov <max@kostikov.co> | 2019-06-10 20:03:55 +0200 |
commit | e9a17517d3c57e3f97e5c4180bf26208898f4afc (patch) | |
tree | 8ddaba545b1d34aa582e60fbf0698769e687bb23 | |
parent | 55792d5528717845bdd129cef508602d6bd3808a (diff) | |
parent | 94254e61c188fdc553acbfb99e78adb892569892 (diff) | |
download | volse-hubzilla-e9a17517d3c57e3f97e5c4180bf26208898f4afc.tar.gz volse-hubzilla-e9a17517d3c57e3f97e5c4180bf26208898f4afc.tar.bz2 volse-hubzilla-e9a17517d3c57e3f97e5c4180bf26208898f4afc.zip |
Merge branch 'dev' into 'dev'
PgSQL compatibility on conversion
See merge request hubzilla/core!1665
-rwxr-xr-x | util/storageconv | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/storageconv b/util/storageconv index 9c49787d1..1e053e075 100755 --- a/util/storageconv +++ b/util/storageconv @@ -45,7 +45,7 @@ if($argc == 2) { break; } - $x = q("SELECT DISTINCT resource_id, content FROM photo WHERE photo_usage = 0 AND os_storage = 1 AND imgscale = 0"); + $x = q("SELECT resource_id, content FROM photo WHERE photo_usage = 0 AND os_storage = 1 AND imgscale = 0"); if($x) { foreach($x as $xx) { @@ -85,7 +85,7 @@ if($argc == 2) { break; } - $x = q("SELECT DISTINCT resource_id FROM photo WHERE photo_usage = 0 AND os_storage = 1 AND imgscale = 0"); + $x = q("SELECT resource_id FROM photo WHERE photo_usage = 0 AND os_storage = 1 AND imgscale = 0"); if($x) { foreach($x as $xx) { |