bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#30494: 25.2; (setting-constant nil) error in sql.el


From: Pierre Téchoueyres
Subject: bug#30494: 25.2; (setting-constant nil) error in sql.el
Date: Tue, 08 Jan 2019 23:00:06 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.91 (gnu/linux)

address@hidden (Pierre Téchoueyres) writes:

> address@hidden (Pierre Téchoueyres) writes:
>
>> address@hidden (Pierre Téchoueyres) writes:
>>
>>> Noam Postavsky <address@hidden> writes:
>>>
>>>> tags 30494 + confirmed easy
>>>> quit
>>>>
>>>> address@hidden writes:
>>>>
>>>>> In 'emacs -Q' executing it step-by-step:
>>>>>
>>>>> (require 'sql)
>>>>>
>>>>> (sql-add-product 'xyz "XyzDB"
>>>>>                  '(:free-software t))
>>>>>
>>>>> (defcustom my-sql-xyz-program "ixyz"
>>>>>   "Command to start ixyz by XyzDB."
>>>>>   :type 'file
>>>>>   :group 'SQL)
>>>>>
>>>>> ;; NEXT STEP FAILS WITH:
>>>>> ;; Debugger entered--Lisp error: (setting-constant nil)
>>>>> ;;  sql-set-product-feature(xyz :sqli-program my-sql-xyz-program)
>>>>> ;;  eval((sql-set-product-feature (quote xyz) :sqli-program (quote 
>>>>> my-sql-xyz-program)) nil)
>>>>> (sql-set-product-feature 'xyz
>>>>>                          :sqli-program 'my-sql-xyz-program)
>>>>
>>>> Looks like it's probably just a missing nil check in
>>>> sql-set-product-feature.
>>>>
>>>
>>> Does the attached patch do the trick ?
>>>
>> Any interrest on this ?
>
> Ping ! Or if this isn't desired, maybe it's time to close the bug ?

Ping ! Ping !





reply via email to

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