It looks like a bug.

Did you file a ticket?

The expected behavior is that the layer you are dragging is imported
(without overwriting!) into the destination DB (the drop target).

In case of overwriting, a confirm dialog should appear.

I've recently worked on that for geopackage and I've also added some logic
to prevent dropping onto itself (that could lead to data loss).

Cheers



On Tue, Sep 5, 2017 at 8:39 AM, Martin Bain <[email protected]>
wrote:

> Hi List,
>
> I just discovered a brutal feature of the Browser Panel.
>
>
>
> When browsing SQL Server if you happen to click and drag on a table then
> when you release the mouse button a dialog box will pop up saying “Import
> Competed”.
>
>
>
> The table under the cursor when mouse button is released gets overwritten
> with an empty table, without any sort of prompt!
>
>
>
> Within SQL Server I have now revoked DDL permissions from the user that
> did this (and myself).
>
>
>
> But was wondering, Is there a way to prevent or modify this behaviour in
> QGIS?
>
>
>
> Thanks,
>
> Martin.
>
> This email is intended for the named recipient only. The information it
> contains may be confidential. If you are not the intended recipient you
> must not reproduce or distribute any part of this email, disclose its
> contents to any other party or take any action in reliance on it. If you
> have received this email in error, please contact the sender immediately
> and delete the message.
>
> _______________________________________________
> Qgis-user mailing list
> [email protected]
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>



-- 
Alessandro Pasotti
w3:   www.itopen.it
_______________________________________________
Qgis-user mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to