Commit 70571db6 authored by 向偲彪's avatar 向偲彪
Browse files
parents 2dde6014 db30721f
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -14,3 +14,7 @@
 * See the License for the specific language governing permissions and
 * limitations under the License.
*/
SET sql_mode=(SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY',''));
SET FOREIGN_KEY_CHECKS=0;
UPDATE t_ds_resources SET pid=-1,is_directory=false WHERE pid IS NULL;
UPDATE t_ds_resources SET full_name = concat('/',alias) WHERE pid=-1 and full_name IS NULL;
 No newline at end of file