Tarantool development patches archive
 help / color / mirror / Atom feed
* [Tarantool-patches] [PATCH] Fix typo in decNumberToUInt64
@ 2020-06-26 14:44 Chris Sosnin
  2020-06-28 16:39 ` Vladislav Shpilevoy
  2020-06-29  7:37 ` Serge Petrenko
  0 siblings, 2 replies; 3+ messages in thread
From: Chris Sosnin @ 2020-06-26 14:44 UTC (permalink / raw)
  To: tarantool-patches, sergepetrenko, v.shpilevoy

---
branch:https://github.com/tarantool/decNumber/tree/ksosnin/utilities-for-sql

also added this to the bumbed version here:
https://github.com/tarantool/tarantool/tree/ksosnin/gh-4415-dec-utils 

 decNumber.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/decNumber.c b/decNumber.c
index ec9af21..5ecf4b1 100644
--- a/decNumber.c
+++ b/decNumber.c
@@ -488,7 +488,7 @@ uLong decNumberToUInt64(const decNumber *dn, decContext *set) {
     uLong hi=0, lo;
     up=dn->lsu;
     lo=*up;
-    #if DECDPUNL>1
+    #if DECDPUN>1
       hi=lo/10;
       lo=lo%10;
     #endif
-- 
2.21.1 (Apple Git-122.3)

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Tarantool-patches] [PATCH] Fix typo in decNumberToUInt64
  2020-06-26 14:44 [Tarantool-patches] [PATCH] Fix typo in decNumberToUInt64 Chris Sosnin
@ 2020-06-28 16:39 ` Vladislav Shpilevoy
  2020-06-29  7:37 ` Serge Petrenko
  1 sibling, 0 replies; 3+ messages in thread
From: Vladislav Shpilevoy @ 2020-06-28 16:39 UTC (permalink / raw)
  To: Chris Sosnin, tarantool-patches, sergepetrenko

Thanks for the patch!

LGTM.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Tarantool-patches] [PATCH] Fix typo in decNumberToUInt64
  2020-06-26 14:44 [Tarantool-patches] [PATCH] Fix typo in decNumberToUInt64 Chris Sosnin
  2020-06-28 16:39 ` Vladislav Shpilevoy
@ 2020-06-29  7:37 ` Serge Petrenko
  1 sibling, 0 replies; 3+ messages in thread
From: Serge Petrenko @ 2020-06-29  7:37 UTC (permalink / raw)
  To: Chris Sosnin; +Cc: tarantool-patches, v.shpilevoy


26.06.2020 17:44, Chris Sosnin пишет:
> ---
> branch:https://github.com/tarantool/decNumber/tree/ksosnin/utilities-for-sql
>
> also added this to the bumbed version here:
> https://github.com/tarantool/tarantool/tree/ksosnin/gh-4415-dec-utils
>
>   decNumber.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/decNumber.c b/decNumber.c
> index ec9af21..5ecf4b1 100644
> --- a/decNumber.c
> +++ b/decNumber.c
> @@ -488,7 +488,7 @@ uLong decNumberToUInt64(const decNumber *dn, decContext *set) {
>       uLong hi=0, lo;
>       up=dn->lsu;
>       lo=*up;
> -    #if DECDPUNL>1
> +    #if DECDPUN>1
>         hi=lo/10;
>         lo=lo%10;
>       #endif

Hi! Thanks for  the patch!

LGTM.

-- 
Serge Petrenko

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-06-29  7:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-26 14:44 [Tarantool-patches] [PATCH] Fix typo in decNumberToUInt64 Chris Sosnin
2020-06-28 16:39 ` Vladislav Shpilevoy
2020-06-29  7:37 ` Serge Petrenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox