emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] [Orgmode] Babel sql code block issue and patch proposal


From: Alain Clément
Subject: [O] [Orgmode] Babel sql code block issue and patch proposal
Date: Thu, 3 Mar 2011 12:23:47 +0100

Hi everyone,

The =org-babel-temp-file= string seems to be escaped with backslashes on some platforms (like MacOSX), which is not very appreciated by the =mysql -e= command. I suggest the following patch for ="" (Org-mode Version 7.4 (release_7.4.590.g85d4d)):

74c74
<                     ('mysql (format "mysql %s < %s > %s"
---
>                     ('mysql (format "mysql %s -e \"source %s\" > %s"

Best regards,
-- Alain

--



Alain Clément
Dr ès sc. mathématiques

Université de Lausanne
Quartier UNIL-Centre
Bâtiment Unicentre
Bureau 339
CH-1015 Lausanne

T. +41 21 692 20 36 (direct)
T. +41 21 692 20 60 (secrétariat)

address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]