Skip to content
#

mariadb

Here are 1,708 public repositories matching this topic...

prisma
Ressy66
Ressy66 commented Dec 7, 2020

Describe the bug

in a database, clicking on SQL , there is no ability to right click copy/paste clipboard stuff

To Reproduce

Steps to reproduce the behavior:

  1. Go to '...' any database
  2. Click on '....' SQL
  3. try paste into or copy content from right click

Expected behavior

copy to and paste from

Server configuration

  • Operating system: linux slackware 14
abonander
abonander commented Dec 2, 2020

Currently, the macros expect SQLX_OFFLINE to equal "true" (case insensitive) to force offline mode. This is fine, but environment variables that can switch something on or off typically also accept 0 as false and 1 as true.

This should be a relatively easy fix, the code is here: https://github.com/launchbadge/sqlx/blob/master/sqlx-macros/src/query/mod.rs#L40

I would also prefer to use

jods4
jods4 commented Dec 11, 2020

This might be a 3.x regression.
The code below was developed in 2.x and I'm 90% confident that it did what I want.
We recently noticed a serious perf regression and observed the (new?) behavior described here.

Take a model that maps a DB blob into a .net byte[].

class File 
{
  public int Id { get; set; }
  public string Name { get; set; }
  public byte[] Data { get; set;

Improve this page

Add a description, image, and links to the mariadb topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the mariadb topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.